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