3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $startNoMath = microtime(); for ($i = 0; $i < 10000; $i++) $var = 24*3600*365; $endNoMath = microtime(); $timeNoMath = $endNoMath - $startNoMath; echo 'No math took : ',$timeNoMath,'ms';
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 No math took : 0.000117ms
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 No math took : 0.000122ms
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 No math took : 0.000268ms
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 No math took : 0.000271ms
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 Notice: A non well formed numeric value encountered in /in/AFkdG on line 6 No math took : 0.000185ms
Output for 7.0.20
No math took : 0.00012ms
Output for 7.0.14
No math took : 0.00017ms
Output for 7.0.6
No math took : 0.00011099999999997ms
Output for 7.0.5
No math took : 0.00011000000000005ms
Output for 7.0.4
No math took : 0.00014099999999995ms
Output for 7.0.3
No math took : 0.00015699999999996ms
Output for 7.0.2
No math took : 0.00013200000000002ms
Output for 7.0.1
No math took : 0.00016699999999992ms
Output for 7.0.0
No math took : 0.00010899999999997ms
Output for 5.6.28
No math took : 0.001052ms
Output for 5.6.21
No math took : 0.00045400000000001ms
Output for 5.6.20
No math took : 0.00055899999999998ms
Output for 5.6.19
No math took : 0.00054399999999999ms
Output for 5.4.13, 5.6.18
No math took : 0.000474ms
Output for 5.4.38, 5.6.17
No math took : 0.000467ms
Output for 5.6.16
No math took : 0.00051800000000002ms
Output for 5.6.15
No math took : 0.000541ms
Output for 5.6.14
No math took : 0.000433ms
Output for 5.6.13
No math took : 0.000513ms
Output for 5.6.12
No math took : 0.00048899999999996ms
Output for 5.6.11
No math took : 0.00049099999999996ms
Output for 5.6.10
No math took : 0.00031799999999998ms
Output for 5.6.9
No math took : 0.00057499999999999ms
Output for 5.6.8
No math took : 0.000318ms
Output for 5.6.7
No math took : 0.00050700000000004ms
Output for 5.5.35
No math took : 0.00044899999999992ms
Output for 5.5.34
No math took : 0.00056199999999995ms
Output for 5.5.33
No math took : 0.00052099999999999ms
Output for 5.5.32
No math took : 0.00036199999999997ms
Output for 5.5.31
No math took : 0.00051000000000001ms
Output for 5.5.30
No math took : 0.00034699999999999ms
Output for 5.5.29
No math took : 0.000328ms
Output for 5.5.28
No math took : 0.00033100000000003ms
Output for 5.5.27
No math took : 0.00043499999999996ms
Output for 5.5.26
No math took : 0.00048599999999999ms
Output for 5.5.25
No math took : 0.00048999999999999ms
Output for 5.5.24
No math took : 0.00032799999999999ms
Output for 5.4.45
No math took : 0.00049100000000002ms
Output for 5.4.44
No math took : 0.000476ms
Output for 5.4.43
No math took : 0.000475ms
Output for 5.4.42
No math took : 0.00077699999999992ms
Output for 5.4.41
No math took : 0.00047399999999997ms
Output for 5.4.40
No math took : 0.000502ms
Output for 5.4.39
No math took : 0.00082500000000008ms
Output for 5.4.37
No math took : 0.00063399999999991ms
Output for 5.4.36
No math took : 0.00057699999999994ms
Output for 5.4.35
No math took : 0.00035200000000002ms
Output for 5.4.34
No math took : 0.00056ms
Output for 5.4.32
No math took : 0.000365ms
Output for 5.4.31
No math took : 0.000499ms
Output for 5.4.30
No math took : 0.000359ms
Output for 5.4.29
No math took : 0.00033700000000003ms
Output for 5.4.28
No math took : 0.00036399999999992ms
Output for 5.4.27
No math took : 0.000477ms
Output for 5.4.26
No math took : 0.000766ms
Output for 5.4.25
No math took : 0.000682ms
Output for 5.4.24
No math took : 0.000584ms
Output for 5.4.23
No math took : 0.00074ms
Output for 5.4.22
No math took : 0.000641ms
Output for 5.4.21
No math took : 0.000703ms
Output for 5.4.20
No math took : 0.000512ms
Output for 5.4.19
No math took : 0.000726ms
Output for 5.4.18
No math took : 0.000488ms
Output for 5.4.17
No math took : 0.00049ms
Output for 5.4.16
No math took : 0.000507ms
Output for 5.4.10, 5.4.15
No math took : 0.000478ms
Output for 5.4.14
No math took : 0.000626ms
Output for 5.4.12
No math took : 0.000897ms
Output for 5.4.11
No math took : 0.000576ms
Output for 5.4.9
No math took : 0.000526ms
Output for 5.4.8
No math took : 0.00055ms
Output for 5.4.7
No math took : 0.00053ms
Output for 5.4.6
No math took : 0.000911ms
Output for 5.4.5
No math took : 0.000707ms
Output for 5.4.4
No math took : 0.00114ms
Output for 5.4.3
No math took : 0.00451ms
Output for 5.4.2
No math took : 0.000454ms
Output for 5.4.1
No math took : 0.000492ms
Output for 5.4.0
No math took : 0.000791ms
Output for 5.3.29
No math took : 0.00065199999999999ms
Output for 5.3.28
No math took : 0.001191ms
Output for 5.3.27
No math took : 0.0008ms
Output for 5.3.26
No math took : 0.001091ms
Output for 5.3.25
No math took : 0.000765ms
Output for 5.3.24
No math took : 0.001203ms
Output for 5.3.23
No math took : 0.00076ms
Output for 5.3.22
No math took : 0.001179ms
Output for 5.3.21
No math took : 0.00081ms
Output for 5.3.20
No math took : 0.000797ms
Output for 5.3.19
No math took : 0.001287ms
Output for 5.3.18
No math took : 0.001141ms
Output for 5.3.17
No math took : 0.001381ms
Output for 5.3.16
No math took : 0.001186ms
Output for 5.3.15
No math took : 0.000923ms
Output for 5.3.14
No math took : 0.000734ms
Output for 5.3.13
No math took : 0.000746ms
Output for 5.3.12
No math took : 0.001167ms
Output for 5.3.11
No math took : 0.001133ms
Output for 5.3.10
No math took : 0.000771ms
Output for 5.3.9
No math took : 0.000802ms
Output for 5.3.8
No math took : 0.001291ms
Output for 5.3.7
No math took : 0.000951ms
Output for 5.3.6
No math took : 0.000805ms
Output for 5.3.5
No math took : 0.001446ms
Output for 5.3.4
No math took : 0.001318ms
Output for 5.3.3
No math took : 0.001295ms
Output for 5.3.2
No math took : 0.000859ms
Output for 5.3.1
No math took : 0.000804ms
Output for 5.3.0
No math took : 0.001384ms
Output for 5.2.17
No math took : 0.001105ms
Output for 5.2.16
No math took : 0.001811ms
Output for 5.2.15
No math took : 0.001043ms
Output for 5.2.14
No math took : 0.001057ms
Output for 5.2.13
No math took : 0.001109ms
Output for 5.2.12
No math took : 0.00185ms
Output for 5.2.11
No math took : 0.001102ms
Output for 5.2.10
No math took : 0.001108ms
Output for 5.2.9
No math took : 0.001466ms
Output for 5.2.8
No math took : 0.001726ms
Output for 5.2.7
No math took : 0.001035ms
Output for 5.2.6
No math took : 0.001049ms
Output for 5.1.1, 5.2.5
No math took : 0.00112ms
Output for 5.2.4
No math took : 0.001908ms
Output for 5.2.3
No math took : 0.00121ms
Output for 5.2.2
No math took : 0.001138ms
Output for 5.2.1
No math took : 0.001009ms
Output for 5.2.0
No math took : 0.001355ms
Output for 5.1.6
No math took : 0.001762ms
Output for 5.1.5
No math took : 0.00143ms
Output for 5.1.4
No math took : 0.002038ms
Output for 5.1.3
No math took : 0.002215ms
Output for 5.1.2
No math took : 0.001923ms
Output for 5.1.0
No math took : 0.001798ms
Output for 5.0.5
No math took : 0.004542ms
Output for 5.0.4
No math took : 0.003475ms
Output for 5.0.3
No math took : 0.007755ms
Output for 5.0.2
No math took : 0.003885ms
Output for 5.0.1
No math took : 0.003622ms
Output for 5.0.0
No math took : 0.004952ms
Output for 4.4.9
No math took : 0.002657ms
Output for 4.4.8
No math took : 0.004242ms
Output for 4.4.7
No math took : 0.00255ms
Output for 4.4.6
No math took : 0.004075ms
Output for 4.4.5
No math took : 0.002844ms
Output for 4.4.4
No math took : 0.002592ms
Output for 4.4.3
No math took : 0.002647ms
Output for 4.4.2
No math took : 0.003122ms
Output for 4.4.1
No math took : 0.003118ms
Output for 4.4.0
No math took : 0.004277ms
Output for 4.3.11
No math took : 0.002575ms
Output for 4.3.10
No math took : 0.004087ms
Output for 4.3.9
No math took : 0.004535ms
Output for 4.3.8
No math took : 0.004496ms
Output for 4.3.7
No math took : 0.002795ms
Output for 4.3.6
No math took : 0.003058ms
Output for 4.3.5
No math took : 0.00262ms
Output for 4.3.4
No math took : 0.002437ms
Output for 4.3.3
No math took : 0.002683ms
Output for 4.3.2
No math took : 0.004044ms
Output for 4.3.1
No math took : 0.003787ms
Output for 4.3.0
No math took : 0.002428ms