3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $numCat = 0 while ($numCat < 5) { echo "<p>La cantidad de gatos no es suficiente.</p>"; $numCat ++; } echo "Ahora sí la cantidad es suficiente: " . $numCat; ?>
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected 'while' (T_WHILE) in /in/QaSh1 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_WHILE in /in/QaSh1 on line 3
Process exited with code 255.