3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php $value = '12345'; $x = 0; for ($i = 0; $i < 10000; $i++){ $x = (preg_match('#^[0-9]+$#', $value)); } var_dump($x);
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected '<' in /in/1bNOF on line 2
Process exited with code 255.