3v4l.org

run code in 200+ 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 - 7.2.0
Notice: unserialize(): Error at offset 6 of 22 bytes in /in/fMFna on line 4 false
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()'; }