3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $resultat = array(1,3,4,2,"test", "hello", "world"); for ($i=0; $i <= count($resultat); $i++) { if ($j = $i % 2) { echo "$i MODULO 2, RESTE: " . $j . "\r\n"; } else { echo "$i est MODULO 2"; $i = 0; } }