3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('unserialize_callback_func','assert'); var_dump(unserialize('O:11:"phpinfo()<>":0:{}')); phpinfo('ryat');
based on Y1Zl6
Output for 4.3.11 - 4.4.9, 5.0.4 - 7.1.0
Notice: unserialize(): Error at offset 13 of 23 bytes in /in/Cp31s on line 4 bool(false) Warning: phpinfo() has been disabled for security reasons in /in/Cp31s on line 5
Output for 5.0.0 - 5.0.3
Parse error: parse error, unexpected ';' in /in/Cp31s(4) : assert code on line 1 Fatal error: assert(): Failure evaluating code: phpinfo()<> in /in/Cp31s on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.10
Parse error: parse error, unexpected ';' in /in/Cp31s(4) : assert code on line 1 Fatal error: Failure evaluating code: phpinfo()<> in /in/Cp31s on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/Cp31s(4) : assert code on line 1 Fatal error: Failure evaluating code: phpinfo()<> in /in/Cp31s on line 4
Process exited with code 255.