3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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>'; ?>
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected ']' in /in/EdDAU on line 6
Process exited with code 255.