3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i < 10; $i +=0.1){ echo $i, PHP_EOL; }
Output for 4.3.10 - 4.3.11, 4.4.0 - 4.4.9, 5.0.2 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 6 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 8 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 8.9 9 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 10
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
0 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL0.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL1.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL2.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL3.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL4.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL5.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL6.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL7.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL8.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.1 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.2 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.3 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.5 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.6 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.7 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.8 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL9.9 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL10 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VD5mU on line 3 PHP_EOL

preferences:
322.34 ms | 421 KiB | 457 Q