3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { function __wakeup() { print "wakeup\n"; } } session_start(); session_decode('core|a:1:{s:23:"_session_validator_data";a:4:{s:11:"remote_addr";s:9:"127.0.0.1";s:8:"http_via";s:0:"";s:20:"http_x_forwarded_for";s:0:"";s:15:"http_user_agent";s:49:"}}}}}O:4:"Test":0:{}');' var_dump($_SESSION);
based on FND6D
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected ''' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in /in/TfRp8 on line 10
Process exited with code 255.
Output for 5.4.10 - 5.6.16
Parse error: syntax error, unexpected ''' (T_ENCAPSED_AND_WHITESPACE) in /in/TfRp8 on line 10
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/TfRp8 on line 10
Process exited with code 255.