- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
- Parse error: syntax error, unexpected ']' in /in/EdDAU on line 6
Process exited with code 255.
<?php
$s = '';
$t = array(1,2,3);
//for ($i =0; $i<count($t); $i++) {
foreach($t as $v) {
$s .= '<li>'.v].'<li>';
}
echo '<ul>'.$s.'</ul>';
?>