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; for ($y = 2; $y < $i; ++$y) { if ($i % $y == 0) { echo ' - ', $y, 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/n42Hu on line 5 PHP_EOL487 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/n42Hu on line 5 PHP_EOL