3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 'O:10:"phpinfo()":0:{}'; var_export(unserialize($a));
based on fMFna
Output for 4.3.10 - 4.4.9, 5.0.3 - 7.1.0
Notice: unserialize(): Error at offset 16 of 21 bytes in /in/qVZFV on line 4 false
Output for 5.0.0 - 5.0.2
class __PHP_Incomplete_Class { public $__PHP_Incomplete_Class_Name = 'phpinfo()"'; }
Output for 4.3.0 - 4.3.9
class __PHP_Incomplete_Class { var $__PHP_Incomplete_Class_Name = 'phpinfo()"'; }