3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'O:10:"\'phpinfo()":0:{}'; var_export(unserialize($a));
based on F2oSq
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 6 of 22 bytes in /in/fMFna on line 4 false
Output for hhvm-3.12.0
'phpinfo()::__set_state(array( ))
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.0.3
class __PHP_Incomplete_Class { public $__PHP_Incomplete_Class_Name = '\'phpinfo()'; }
Output for 4.3.0 - 4.3.10
class __PHP_Incomplete_Class { var $__PHP_Incomplete_Class_Name = '\'phpinfo()'; }