<?php
$a = array('0345', '234', '345', '345');
$b = array('asd=>''0345', '234', '345', '346');
var_dump(array_combine($a, $b));
- Output for 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.4.0 - 5.4.15
- Parse error: syntax error, unexpected ''0345'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in pQd8P on line 4
Process exited with code 255. - Output for 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. - Output for 5.3.0 - 5.3.24
- Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in pQd8P on line 4
Process exited with code 255.
preferences:
197.39 ms | 1399 KiB | 51 Q