3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php <html> <head> <title>Online PHP Script Execution</title> </head> <body> <? $a = 2666; $b = 0; $c = 0; $i = 0; for ($i=1; $i <= 20; $i++) { $b = $a * $i; if ($i == 11) {$c = $i;} } $b = round($b/10000, 2) * 10; $i = 0; while ($i < $b) { $i++; $c = $c + floor($a/10) - 40; if ($i == 12) {E = $c;} if ($i == 37) {N = $c;} } ?> </body> </html>
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected '<', expecting end of file in /in/MDV16 on line 3
Process exited with code 255.
Output for 5.3.21 - 5.6.16
Parse error: syntax error, unexpected '<' in /in/MDV16 on line 3
Process exited with code 255.