3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('0345', '234', '345', '345'); $b = array('asd=>''0345', '234', '345', '346'); var_dump(array_combine($a, $b));
Output for 5.4.0 - 5.4.16
Parse error: syntax error, unexpected ''0345'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/1ToJm on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.24, 5.3.26
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/1ToJm on line 4
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/pQd8P on line 4
Process exited with code 255.