<?php
$names = [ ["Rasmus","Lerdorf"],
["Andi","Gutmans"],
["Zeev","Suraski"] ];
foreach (&$names as list($fname,$lname)) {
$lname = strtoupper($lname);
echo $lname,', ', $fname, "<br>\n";
}
- Output for 5.4.0 - 5.4.11
- Parse error: syntax error, unexpected '&' in /in/7guag on line 5
Process exited with code 255. - Output for 5.3.0 - 5.3.21
- Parse error: syntax error, unexpected '[' in /in/7guag on line 2
Process exited with code 255.
preferences:
177.58 ms | 1395 KiB | 41 Q