3v4l.org

run code in 300+ PHP versions simultaneously
<?php <? php for( $i = 100; $i <= 999; $i ++) { $a =(int)($i / 100); $b= ((int)($i/10) % 10; $c= $i % 10; $s= $a*$b*$c; if (($s>o) && $i % $s == 0)) print($i."<br>") ; } ?>
Output for 7.0.0
Parse error: syntax error, unexpected '<', expecting end of file in /in/FfehA on line 2
Process exited with code 255.
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
Parse error: syntax error, unexpected '<' in /in/FfehA on line 2
Process exited with code 255.

preferences:
168.12 ms | 1395 KiB | 24 Q