3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tempObj = 'O:18:"SimpleSAML_Session":20:{s:29:"SimpleSAML_SessionsessionId";s:26:"r9ns3scv0f8crtujh2edtfueg0";s:29:"SimpleSAML_Sessiontransient";b:0;s:27:"SimpleSAML_Sessiontrackid";s:10:"6a251d27b8";s:23:"SimpleSAML_Sessionidp";N;s:33:"SimpleSAML_Sessionauthenticated";N;s:30:"SimpleSAML_Sessionattributes";N;s:32:"SimpleSAML_Sessionsessionindex";N;s:26:"SimpleSAML_Sessionnameid";N;s:29:"SimpleSAML_Sessionauthority";s:8:"convo-sp";s:34:"SimpleSAML_Sessionsessionstarted";N;s:35:"SimpleSAML_Sessionsessionduration";N;s:25:"SimpleSAML_Sessiondirty";b:0;s:35:"SimpleSAML_Sessionlogout_handlers";a:0:{}s:29:"SimpleSAML_SessiondataStore";a:2:{s:21:"SimpleSAML_Auth_State";a:1:{s:43:"_b369532acecbaea55a7f2ce3a65d10e4e0244f6863";a:3:{s:7:"expires";i:1444730696;s:7:"timeout";i:3600;s:4:"data";s:1359:"a:13:{s:8:"saml:idp";s:45:"https://app.onelogin.com/saml/metadata/450138";s:32:"SimpleSAML_Auth_State.restartURL";s:269:"https://sapp4.convo.com/app/saml2/v1/sso/saml_sp/module.php/core/as_login.php?AuthId=convo-sp&ReturnTo=https%3A%2F%2Fsapp4.convo.com%2Fapp%2Fsaml2%2Fv1%2Fsso%2Fsso.php%3Femail%3Dadeel%40sso.com%26client%3Dw2%26redirect%3Dhttps%253A%252F%252Fsapp4.convo.com%252Fsso%252F";s:26:"SimpleSAML_Auth_Default.id";s:8:"convo-sp";s:30:"SimpleSAML_Auth_Default.Return";s:126:"https://sapp4.convo.com/app/saml2/v1/sso/sso.php?email=adeel@sso.com&client=w2&redirect=https%3A%2F%2Fsapp4.convo.com%2Fsso%2F";s:32:"SimpleSAML_Auth_Default.ErrorURL";N;s:21:"LoginCompletedHandler";a:2:{i:0;s:23:"SimpleSAML_Auth_Default";i:1;s:14:"loginCompleted";}s:14:"LogoutCallback";a:2:{i:0;s:23:"SimpleSAML_Auth_Default";i:1;s:14:"logoutCallback";}s:19:"LogoutCallbackState";a:1:{s:36:"SimpleSAML_Auth_Default.logoutSource";s:8:"convo-sp";}s:33:"SimpleSAML_Auth_Default.ReturnURL";s:126:"https://sapp4.convo.com/app/saml2/v1/sso/sso.php?email=adeel@sso.com&client=w2&redirect=https%3A%2F%2Fsapp4.convo.com%2Fsso%2F";s:14:"saml:sp:AuthId";s:8:"convo-sp";s:14:"ExpectedIssuer";s:45:"https://app.onelogin.com/saml/metadata/450138";s:24:"SimpleSAML_Auth_State.id";s:43:"_b369532acecbaea55a7f2ce3a65d10e4e0244f6863";s:27:"SimpleSAML_Auth_State.stage";s:11:"saml:sp:sso";}";}}s:38:"SimpleSAML_Auth_Source.LogoutCallbacks";a:1:{s:55:"8:convo-sphttps://app.onelogin.com/saml/metadata/450138";a:3:{s:7:"expires";s:13:"logoutTimeout";s:7:"timeout";s:13:"logoutTimeout";s:4:"data";a:2:{s:8:"callback";a:2:{i:0;s:23:"SimpleSAML_Auth_Default";i:1;s:14:"logoutCallback";}s:5:"state";a:1:{s:36:"SimpleSAML_Auth_Default.logoutSource";s:8:"convo-sp";}}}}}s:33:"SimpleSAML_SessionsessionNameId";N;s:31:"SimpleSAML_SessionlogoutState";N;s:29:"SimpleSAML_SessionauthState";N;s:32:"SimpleSAML_Sessionassociations";a:0:{}s:29:"SimpleSAML_SessionauthToken";s:43:"_41c952d035d0826f8b97bcbd25c323bea8a95d5073";s:28:"SimpleSAML_SessionauthData";a:1:{s:8:"convo-sp";a:10:{s:28:"saml:AuthenticatingAuthority";a:1:{i:0;s:45:"https://app.onelogin.com/saml/metadata/450138";}s:14:"saml:sp:NameID";a:2:{s:5:"Value";s:16:"{onelogin:email}";s:6:"Format";s:54:"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";}s:20:"saml:sp:SessionIndex";s:37:"_76b44240-53b7-0133-3490-38ca3a68afbc";s:20:"saml:sp:AuthnContext";s:65:"urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport";s:16:"saml:sp:prevAuth";a:3:{s:2:"id";s:41:"Rd0b63638ddfee3ebb0c3a2508ade8dfe70dcdf53";s:6:"issuer";s:45:"https://app.onelogin.com/saml/metadata/450138";s:8:"redirect";s:126:"https://sapp4.convo.com/app/saml2/v1/sso/sso.php?email=adeel@sso.com&client=w2&redirect=https%3A%2F%2Fsapp4.convo.com%2Fsso%2F";}s:11:"saml:sp:IdP";s:45:"https://app.onelogin.com/saml/metadata/450138";s:10:"Attributes";a:6:{s:14:"User.FirstName";a:1:{i:0;s:5:"Adeel";}s:13:"User.LastName";a:1:{i:0;s:5:"Ehsan";}s:10:"User.email";a:1:{i:0;s:13:"adeel@sso.com";}s:17:"PersonImmutableID";a:1:{i:0;s:0:"";}s:8:"memberOf";a:1:{i:0;s:0:"";}s:6:"groups";a:2:{i:0;s:5:"users";i:1;s:7:"members";}}s:6:"Expire";i:1444755926;s:11:"LogoutState";a:4:{s:16:"saml:logout:Type";s:5:"saml2";s:15:"saml:logout:IdP";s:45:"https://app.onelogin.com/saml/metadata/450138";s:18:"saml:logout:NameID";a:2:{s:5:"Value";s:16:"{onelogin:email}";s:6:"Format";s:54:"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";}s:24:"saml:logout:SessionIndex";s:37:"_76b44240-53b7-0133-3490-38ca3a68afbc";}s:12:"AuthnInstant";i:1444727126;}}}'; var_dump($tempObj);
based on 4vUE4
Output for 5.3.18 - 7.3.0rc4
string(4319) "O:18:"SimpleSAML_Session":20:{s:29:"SimpleSAML_SessionsessionId";s:26:"r9ns3scv0f8crtujh2edtfueg0";s:29:"SimpleSAML_Sessiontransient";b:0;s:27:"SimpleSAML_Sessiontrackid";s:10:"6a251d27b8";s:23:"SimpleSAML_Sessionidp";N;s:33:"SimpleSAML_Sessionauthenticated";N;s:30:"SimpleSAML_Sessionattributes";N;s:32:"SimpleSAML_Sessionsessionindex";N;s:26:"SimpleSAML_Sessionnameid";N;s:29:"SimpleSAML_Sessionauthority";s:8:"convo-sp";s:34:"SimpleSAML_Sessionsessionstarted";N;s:35:"SimpleSAML_Sessionsessionduration";N;s:25:"SimpleSAML_Sessiondirty";b:0;s:35:"SimpleSAML_Sessionlogout_handlers";a:0:{}s:29:"SimpleSAML_SessiondataStore";a:2:{s:21:"SimpleSAML_Auth_State";a:1:{s:43:"_b369532acecbaea55a7f2ce3a65d10e4e0244f6863";a:3:{s:7:"expires";i:1444730696;s:7:"timeout";i:3600;s:4:"data";s:1359:"a:13:{s:8:"saml:idp";s:45:"https://app.onelogin.com/saml/metadata/450138";s:32:"SimpleSAML_Auth_State.restartURL";s:269:"https://sapp4.convo.com/app/saml2/v1/sso/saml_sp/module.php/core/as_login.php?AuthId=convo-sp&ReturnTo=https%3A%2F%2Fsapp4.convo.com%2Fapp%2Fsaml2%2Fv1%2Fsso%2Fsso.php%3Femail%3Dadeel%40sso.com%26client%3Dw2%26redirect%3Dhttps%253A%252F%252Fsapp4.convo.com%252Fsso%252F";s:26:"SimpleSAML_Auth_Default.id";s:8:"convo-sp";s:30:"SimpleSAML_Auth_Default.Return";s:126:"https://sapp4.convo.com/app/saml2/v1/sso/sso.php?email=adeel@sso.com&client=w2&redirect=https%3A%2F%2Fsapp4.convo.com%2Fsso%2F";s:32:"SimpleSAML_Auth_Default.ErrorURL";N;s:21:"LoginCompletedHandler";a:2:{i:0;s:23:"SimpleSAML_Auth_Default";i:1;s:14:"loginCompleted";}s:14:"LogoutCallback";a:2:{i:0;s:23:"SimpleSAML_Auth_Default";i:1;s:14:"logoutCallback";}s:19:"LogoutCallbackState";a:1:{s:36:"SimpleSAML_Auth_Default.logoutSource";s:8:"convo-sp";}s:33:"SimpleSAML_Auth_Default.ReturnURL";s:126:"https://sapp4.convo.com/app/saml2/v1/sso/sso.php?email=adeel@sso.com&client=w2&redirect=https%3A%2F%2Fsapp4.convo.com%2Fsso%2F";s:14:"saml:sp:AuthId";s:8:"convo-sp";s:14:"ExpectedIssuer";s:45:"https://app.onelogin.com/saml/metadata/450138";s:24:"SimpleSAML_Auth_State.id";s:43:"_b369532acecbaea55a7f2ce3a65d10e4e0244f6863";s:27:"SimpleSAML_Auth_State.stage";s:11:"saml:sp:sso";}";}}s:38:"SimpleSAML_Auth_Source.LogoutCallbacks";a:1:{s:55:"8:convo-sphttps://app.onelogin.com/saml/metadata/450138";a:3:{s:7:"expires";s:13:"logoutTimeout";s:7:"timeout";s:13:"logoutTimeout";s:4:"data";a:2:{s:8:"callback";a:2:{i:0;s:23:"SimpleSAML_Auth_Default";i:1;s:14:"logoutCallback";}s:5:"state";a:1:{s:36:"SimpleSAML_Auth_Default.logoutSource";s:8:"convo-sp";}}}}}s:33:"SimpleSAML_SessionsessionNameId";N;s:31:"SimpleSAML_SessionlogoutState";N;s:29:"SimpleSAML_SessionauthState";N;s:32:"SimpleSAML_Sessionassociations";a:0:{}s:29:"SimpleSAML_SessionauthToken";s:43:"_41c952d035d0826f8b97bcbd25c323bea8a95d5073";s:28:"SimpleSAML_SessionauthData";a:1:{s:8:"convo-sp";a:10:{s:28:"saml:AuthenticatingAuthority";a:1:{i:0;s:45:"https://app.onelogin.com/saml/metadata/450138";}s:14:"saml:sp:NameID";a:2:{s:5:"Value";s:16:"{onelogin:email}";s:6:"Format";s:54:"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";}s:20:"saml:sp:SessionIndex";s:37:"_76b44240-53b7-0133-3490-38ca3a68afbc";s:20:"saml:sp:AuthnContext";s:65:"urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport";s:16:"saml:sp:prevAuth";a:3:{s:2:"id";s:41:"Rd0b63638ddfee3ebb0c3a2508ade8dfe70dcdf53";s:6:"issuer";s:45:"https://app.onelogin.com/saml/metadata/450138";s:8:"redirect";s:126:"https://sapp4.convo.com/app/saml2/v1/sso/sso.php?email=adeel@sso.com&client=w2&redirect=https%3A%2F%2Fsapp4.convo.com%2Fsso%2F";}s:11:"saml:sp:IdP";s:45:"https://app.onelogin.com/saml/metadata/450138";s:10:"Attributes";a:6:{s:14:"User.FirstName";a:1:{i:0;s:5:"Adeel";}s:13:"User.LastName";a:1:{i:0;s:5:"Ehsan";}s:10:"User.email";a:1:{i:0;s:13:"adeel@sso.com";}s:17:"PersonImmutableID";a:1:{i:0;s:0:"";}s:8:"memberOf";a:1:{i:0;s:0:"";}s:6:"groups";a:2:{i:0;s:5:"users";i:1;s:7:"members";}}s:6:"Expire";i:1444755926;s:11:"LogoutState";a:4:{s:16:"saml:logout:Type";s:5:"saml2";s:15:"saml:logout:IdP";s:45:"https://app.onelogin.com/saml/metadata/450138";s:18:"saml:logout:NameID";a:2:{s:5:"Value";s:16:"{onelogin:email}";s:6:"Format";s:54:"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";}s:24:"saml:logout:SessionIndex";s:37:"_76b44240-53b7-0133-3490-38ca3a68afbc";}s:12:"AuthnInstant";i:1444727126;}}}"