3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $r = unserialize('C:37:"JMS\\Serializer\\Metadata\\ClassMetadata":424:{a:13:{i:0;a:0:{}i:1;a:0:{}i:2;a:0:{}i:3;N;i:4;N;i:5;N;i:6;a:0:{}i:7;b:0;i:8;N;i:9;N;i:10;N;i:11;a:0:{}i:12;s:307:"a:5:{i:0;s:37:"Exercise\\FoodBundle\\Document\\UserFood";i:1;a:0:{}i:2;a:0:{}i:3;a:2:{i:0;s:104:"/Users/cystbear/sites/exercise/src/Exercise/FoodBundle/Resources/config/serializer/Document.UserFood.yml";i:1;s:76:"/Users/cystbear/sites/exercise/src/Exercise/FoodBundle/Document/UserFood.php";}i:4;i:1392430798;}";}}'); var_dump($r);
Output for 5.3.0 - 7.1.0
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/WVJKl on line 3 object(__PHP_Incomplete_Class)#1 (1) { ["__PHP_Incomplete_Class_Name"]=> string(37) "JMS\Serializer\Metadata\ClassMetadata" }
Output for 5.1.0 - 5.2.17
Notice: unserialize(): Error at offset 9 of 475 bytes in /in/WVJKl on line 3 bool(false)
Output for 4.3.2 - 5.0.5
Notice: unserialize(): Error at offset 0 of 475 bytes in /in/WVJKl on line 3 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 0 of 475 bytes in /in/WVJKl on line 3 bool(false)