3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 2; $i < 1461; ++$i) { if (1461 % $i == 0) { echo $i, PHP_EOL; } }
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
3 487
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Fkld8 on line 5 PHP_EOL487 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Fkld8 on line 5 PHP_EOL