3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = unserialize('O:8:"stdClass":-65535:{}'); var_dump($a);
based on ZT71u
Output for 7.0.20, 7.1.5 - 7.2.0
Notice: unserialize(): Error at offset 23 of 24 bytes in /in/qb8pl on line 3 bool(false)
Output for 7.0.0 - 7.0.6, 7.1.0
Fatal error: Possible integer overflow in memory allocation (4294901761 * 32 + 32) in /in/qb8pl on line 3
Process exited with code 255.
Output for 5.3.18 - 5.6.28
object(stdClass)#1 (0) { }