3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for i in range(ceiling(sqrt(n)), 1){ if ( n modulo i ) == 0 { x = i; y = round(n/i); } } ?>
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected 'i' (T_STRING), expecting '(' in /in/7kiB6 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_STRING, expecting '(' in /in/7kiB6 on line 2
Process exited with code 255.