3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class BloomFilter { public function __wakeup() {} } $foobar = 'C:11:"BloomFilter":64:{p:1437768,179721,10,0,1655829513,242245702;d:0.001;s:179721:"";}'; var_dump(unserialize($foobar));
Output for 5.3.0 - 7.1.0
Warning: Insufficient data for unserializing - 64 required, 64 present in /in/rDWCb on line 8 Notice: unserialize(): Error at offset 23 of 87 bytes in /in/rDWCb on line 8 bool(false)
Output for 5.1.0 - 5.2.17
Warning: Class BloomFilter has no unserializer in /in/rDWCb on line 8 Notice: unserialize(): Error at offset 17 of 87 bytes in /in/rDWCb on line 8 bool(false)
Output for 5.0.0 - 5.0.5
Notice: unserialize(): Error at offset 0 of 87 bytes in /in/rDWCb on line 8 bool(false)
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/rDWCb on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/rDWCb on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/rDWCb on line 4
Process exited with code 255.