I have an interceptor in java that can intercept the exit request sent by the cas server, but cannot intercept the exit request from the cas server in php, which leads to the single point of exit failure of php.
phpCAS::client(CAS_VERSION_2_0, CAS_HOST, CAS_PORT, CAS_CONTEXT);
phpCAS::setNoCasServerValidation();
phpCAS::handleLogoutRequests();