3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('C:19:"SplDoublyLinkedList":4:{i:0;}'));
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.1.0
object(SplDoublyLinkedList)#1 (2) { ["flags":"SplDoublyLinkedList":private]=> int(0) ["dllist":"SplDoublyLinkedList":private]=> array(0) { } }
Output for hhvm-3.10.0 - 3.13.2
Warning: Invalid argument supplied for foreach() in /in/Y275Q on line 3 object(SplDoublyLinkedList)#1 (6) { ["head":protected]=> NULL ["tail":protected]=> NULL ["key":protected]=> int(0) ["current":protected]=> NULL ["count":protected]=> int(0) ["mode":protected]=> NULL }
Output for 5.3.0 - 5.3.29
Warning: Class SplDoublyLinkedList has no unserializer in /in/Y275Q on line 3 object(SplDoublyLinkedList)#1 (2) { ["flags":"SplDoublyLinkedList":private]=> int(0) ["dllist":"SplDoublyLinkedList":private]=> array(0) { } }
Output for 5.1.0 - 5.2.17
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/Y275Q on line 3 Notice: unserialize(): Error at offset 25 of 35 bytes in /in/Y275Q on line 3 bool(false)
Output for 4.3.2 - 5.0.5
Notice: unserialize(): Error at offset 0 of 35 bytes in /in/Y275Q 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 35 bytes in /in/Y275Q on line 3 bool(false)