3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ( $c1 = 1; $c1 < 3; $c1++ ) for ( $c2 = 1; $c2 < 3; $c2++ ) for ( $c3 = 1; $c3 < 3; $c3++ ) for ( $c4 = 1; $c4 < 3; $c4++ ) for ( $c5 = 1; $c5 < 3; $c5++ ) for ( $c6 = 1; $c6 < 3; $c6++ ) for ( $c7 = 1; $c7 < 3; $c7++ ) for ( $c8 = 1; $c8 < 3; $c8++ ) for ( $c9 = 1; $c9 < 3; $c9++ ) for ( $c10 = 1; $c10 < 3; $c10++ ) for ( $c11 = 1; $c11 < 3; $c11++ ) for ( $c12 = 1; $c12 < 3; $c12++ ) for ( $c13 = 1; $c13 < 3; $c13++ ) for ( $c14 = 1; $c14 < 3; $c14++ ) for ( $c15 = 1; $c15 < 3; $c15++ ) $counter++; } echo $counter * 0.25; ?>
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.32
Parse error: syntax error, unexpected '}' in /in/Kh8oo on line 20
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '}' in /in/Kh8oo on line 20
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/Kh8oo on line 20
Process exited with code 255.

preferences:
217.63 ms | 1395 KiB | 123 Q