3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ser = 'a:0:{}'; if(unserialize($ser))){ echo '1'; } //var_dump(unserialize($ser));
Output for 5.3.0 - 5.4.21
Parse error: syntax error, unexpected ')' in /in/M1np5 on line 5
Process exited with code 255.