- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
- Parse error: syntax error, unexpected ';', expecting '{' in /in/jFYQ8 on line 11
Process exited with code 255.
<?php
$testDates = array("A", "B");
$myDates = array("C", "D");
function dates($arrDates) {
foreach ($testDates as $date) {
// do something
}
}
function dates($testDates);
// other code executed
foreach ($myDates as $myDate) {
echo $date;
}