3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = unserialize(a:4:{i:0;a:2:{s:9:"option_id";s:1:"1";s:6:"status";s:1:"0";}i:1;a:2:{s:9:"option_id";s:1:"2";s:6:"status";s:1:"0";}i:2;a:2:{s:9:"option_id";s:1:"3";s:6:"status";s:1:"0";}i:3;a:2:{s:9:"option_id";s:1:"4";s:6:"status";s:1:"0";}}) var_dump($a);
based on itlpM
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.32
Parse error: syntax error, unexpected ':' in /in/gAMu6 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected ':' in /in/gAMu6 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/gAMu6 on line 2
Process exited with code 255.