3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "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";}}" unserialize($a); var_dump($a);
based on gAMu6
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected 'option_id' (T_STRING) in /in/X8FiV on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_STRING in /in/X8FiV 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 T_STRING in /in/X8FiV on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/X8FiV on line 2
Process exited with code 255.