3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_decode('a:1:{s:4:"ryat";s:20:"|O:8:"stdClass":0:{}";}'); var_dump($_SESSION);
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: session_decode(): Session data cannot be decoded when there is no active session in /in/ARPmN on line 4 Warning: Undefined global variable $_SESSION in /in/ARPmN on line 5 NULL
Output for 8.0.0 - 8.0.30
Warning: session_decode(): Session data cannot be decoded when there is no active session in /in/ARPmN on line 4 Warning: Undefined variable $_SESSION in /in/ARPmN on line 5 NULL
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Warning: session_decode(): Session is not active. You cannot decode session data in /in/ARPmN on line 4 Notice: Undefined variable: _SESSION in /in/ARPmN on line 5 NULL
Output for 7.3.32 - 7.3.33
Warning: session_decode(): Session is not active. You cannot decode session data in /in/ARPmN on line 4 NULL
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Notice: Undefined variable: _SESSION in /in/ARPmN on line 5 NULL

preferences:
227.64 ms | 401 KiB | 325 Q