<?php
$a = array();
$a[] = 1;
$a[] = 2;
$a[] = 3;
$a = array_values(unset($a[1]));
var_dump($a);
- Output for 5.4.16
- Parse error: syntax error, unexpected 'unset' (T_UNSET), expecting ')' in /in/56i2q on line 6
Process exited with code 255. - Output for 5.4.0 - 5.4.15
- Parse error: syntax error, unexpected 'unset' (T_UNSET), expecting ')' in gnAWj on line 6
Process exited with code 255. - Output for 5.3.26
- Parse error: syntax error, unexpected T_UNSET, expecting ')' in /in/56i2q on line 6
Process exited with code 255. - Output for 5.3.25
- Parse error: syntax error, unexpected T_UNSET, expecting ')' in /in/gnAWj on line 6
Process exited with code 255. - Output for 5.3.0 - 5.3.24
- Parse error: syntax error, unexpected T_UNSET, expecting ')' in gnAWj on line 6
Process exited with code 255.
preferences:
214.67 ms | 1395 KiB | 51 Q