3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startNoMath = microtime(); for ($i = 0; $i < 10000; $i++) $var = 31536000; $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/HH3Om on line 6 Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 No math took : 0.000163ms
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 No math took : 0.000201ms
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 No math took : 0.000205ms
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 No math took : 0.000255ms
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 Notice: A non well formed numeric value encountered in /in/HH3Om on line 6 No math took : 0.000185ms
Output for 7.0.20
No math took : 0.000145ms
Output for 7.0.14
No math took : 0.000185ms
Output for 7.0.10
No math took : 0.000142ms
Output for 7.0.9
No math took : 0.000148ms
Output for 7.0.8
No math took : 0.000189ms
Output for 7.0.7
No math took : 0.000154ms
Output for 7.0.6
No math took : 0.000134ms
Output for 7.0.5
No math took : 0.000139ms
Output for 7.0.4
No math took : 0.00013ms
Output for 7.0.3
No math took : 0.00014ms
Output for 7.0.2
No math took : 0.000193ms
Output for 7.0.1
No math took : 0.000152ms
Output for 7.0.0
No math took : 0.000135ms
Output for 5.2.7, 5.6.28
No math took : 0.000945ms
Output for 5.5.9, 5.5.36, 5.6.25
No math took : 0.000418ms
Output for 5.6.20, 5.6.24
No math took : 0.00038ms
Output for 5.6.23
No math took : 0.000521ms
Output for 5.5.12, 5.6.22
No math took : 0.000338ms
Output for 5.6.21
No math took : 0.000364ms
Output for 5.5.19, 5.6.19
No math took : 0.000368ms
Output for 5.4.13, 5.6.18
No math took : 0.000321ms
Output for 5.5.3, 5.6.17
No math took : 0.00026ms
Output for 5.3.10, 5.5.14, 5.6.4, 5.6.12, 5.6.16
No math took : 0.000381ms
Output for 5.6.15
No math took : 0.000344ms
Output for 5.5.29, 5.6.14
No math took : 0.000349ms
Output for 5.6.13
No math took : 0.000253ms
Output for 5.6.3, 5.6.11
No math took : 0.000304ms
Output for 5.6.10
No math took : 0.000289ms
Output for 5.5.33, 5.6.9
No math took : 0.000378ms
Output for 5.6.8
No math took : 0.000334ms
Output for 5.6.0, 5.6.7
No math took : 0.000255ms
Output for 5.6.6
No math took : 0.000279ms
Output for 5.6.5
No math took : 0.000411ms
Output for 5.4.44, 5.6.2
No math took : 0.000388ms
Output for 5.6.1
No math took : 0.00028ms
Output for 5.5.38
No math took : 0.000453ms
Output for 5.5.37
No math took : 0.00039ms
Output for 5.5.35
No math took : 0.000314ms
Output for 5.5.34
No math took : 0.000379ms
Output for 5.5.32
No math took : 0.000392ms
Output for 5.5.31
No math took : 0.000406ms
Output for 5.5.30
No math took : 0.000309ms
Output for 5.5.28
No math took : 0.000297ms
Output for 5.5.27
No math took : 0.000398ms
Output for 5.5.26
No math took : 0.000419ms
Output for 5.5.25
No math took : 0.000436ms
Output for 5.5.24
No math took : 0.000485ms
Output for 5.5.23
No math took : 0.000301ms
Output for 5.5.22
No math took : 0.000257ms
Output for 5.5.21
No math took : 0.000261ms
Output for 5.5.20
No math took : 0.00029ms
Output for 5.5.18
No math took : 0.000488ms
Output for 5.5.16
No math took : 0.000397ms
Output for 5.5.15
No math took : 0.000294ms
Output for 5.5.13
No math took : 0.00037ms
Output for 5.5.11
No math took : 0.000417ms
Output for 5.5.10
No math took : 0.000427ms
Output for 5.3.29, 5.5.8
No math took : 0.000387ms
Output for 5.5.7
No math took : 0.00027ms
Output for 5.4.43, 5.5.6
No math took : 0.000431ms
Output for 5.5.5
No math took : 0.000348ms
Output for 5.5.4
No math took : 0.00032ms
Output for 5.5.2
No math took : 0.000339ms
Output for 5.5.1
No math took : 0.000275ms
Output for 5.5.0
No math took : 0.000318ms
Output for 5.4.45
No math took : 0.000295ms
Output for 5.4.42
No math took : 0.000437ms
Output for 5.4.41
No math took : 0.000265ms
Output for 5.4.40
No math took : 0.000264ms
Output for 5.4.16, 5.4.25, 5.4.34, 5.4.39
No math took : 0.000428ms
Output for 5.4.38
No math took : 0.000282ms
Output for 5.4.37
No math took : 0.00031ms
Output for 5.4.36
No math took : 0.00045ms
Output for 5.4.35
No math took : 0.00036ms
Output for 5.4.32
No math took : 0.000451ms
Output for 5.4.31
No math took : 0.000588ms
Output for 5.4.30
No math took : 0.000457ms
Output for 5.4.29
No math took : 0.000432ms
Output for 5.4.28
No math took : 0.00035ms
Output for 5.4.27
No math took : 0.000331ms
Output for 5.4.26
No math took : 0.000336ms
Output for 5.4.7, 5.4.24
No math took : 0.000409ms
Output for 5.4.23
No math took : 0.000505ms
Output for 5.4.22
No math took : 0.000329ms
Output for 5.4.21
No math took : 0.000408ms
Output for 5.4.20
No math took : 0.000319ms
Output for 5.4.19
No math took : 0.000288ms
Output for 5.4.18
No math took : 0.000421ms
Output for 5.4.17
No math took : 0.000533ms
Output for 5.4.1, 5.4.15
No math took : 0.000342ms
Output for 5.4.14
No math took : 0.000371ms
Output for 5.4.12
No math took : 0.000306ms
Output for 5.4.11
No math took : 0.000269ms
Output for 5.4.10
No math took : 0.000374ms
Output for 5.4.9
No math took : 0.000361ms
Output for 5.4.8
No math took : 0.000333ms
Output for 5.4.6
No math took : 0.000375ms
Output for 5.4.5
No math took : 0.0004ms
Output for 5.4.4
No math took : 0.000482ms
Output for 5.4.3
No math took : 0.000317ms
Output for 5.4.2
No math took : 0.00041ms
Output for 5.4.0
No math took : 0.000259ms
Output for 5.3.28
No math took : 0.000611ms
Output for 5.3.27
No math took : 0.000555ms
Output for 5.3.26
No math took : 0.000584ms
Output for 5.3.25
No math took : 0.000402ms
Output for 5.3.24
No math took : 0.00051ms
Output for 5.3.23
No math took : 0.000461ms
Output for 5.3.22
No math took : 0.000652ms
Output for 5.3.21
No math took : 0.000363ms
Output for 5.3.20
No math took : 0.000731ms
Output for 5.3.19
No math took : 0.000624ms
Output for 5.3.18
No math took : 0.000643ms
Output for 5.3.17
No math took : 0.000558ms
Output for 5.3.16
No math took : 0.000591ms
Output for 5.3.14 - 5.3.15
No math took : 0.000567ms
Output for 5.2.1, 5.3.13
No math took : 0.000667ms
Output for 5.3.12
No math took : 0.00057ms
Output for 5.3.11
No math took : 0.000472ms
Output for 5.3.9
No math took : 0.000549ms
Output for 5.3.8
No math took : 0.00042ms
Output for 5.3.7
No math took : 0.000568ms
Output for 5.3.6
No math took : 0.000594ms
Output for 5.3.5
No math took : 0.000623ms
Output for 5.3.4
No math took : 0.000645ms
Output for 5.3.3
No math took : 0.000614ms
Output for 5.3.2
No math took : 0.000492ms
Output for 5.3.1
No math took : 0.000556ms
Output for 5.3.0
No math took : 0.000662ms
Output for 5.2.17
No math took : 0.000717ms
Output for 5.2.16
No math took : 0.000931ms
Output for 5.2.15
No math took : 0.000727ms
Output for 5.2.14
No math took : 0.000897ms
Output for 5.2.13
No math took : 0.000824ms
Output for 5.2.12
No math took : 0.000661ms
Output for 5.2.11
No math took : 0.000686ms
Output for 5.2.10
No math took : 0.000853ms
Output for 5.2.9
No math took : 0.000855ms
Output for 5.2.3, 5.2.8
No math took : 0.000829ms
Output for 5.2.5 - 5.2.6
No math took : 0.000511ms
Output for 5.2.4
No math took : 0.000675ms
Output for 5.2.2
No math took : 0.001402ms
Output for 5.2.0
No math took : 0.000938ms
Output for 5.1.6
No math took : 0.000653ms
Output for 5.1.5
No math took : 0.000815ms
Output for 5.1.4
No math took : 0.000527ms
Output for 5.1.3
No math took : 0.000509ms
Output for 5.1.2
No math took : 0.000849ms
Output for 5.1.1
No math took : 0.000814ms
Output for 5.1.0
No math took : 0.000517ms
Output for 5.0.5
No math took : 0.0017ms
Output for 5.0.4
No math took : 0.002086ms
Output for 5.0.3
No math took : 0.001807ms
Output for 5.0.2
No math took : 0.002015ms
Output for 5.0.1
No math took : 0.00136ms
Output for 5.0.0
No math took : 0.001364ms
Output for 4.4.9
No math took : 0.00119ms
Output for 4.4.8
No math took : 0.002077ms
Output for 4.4.7
No math took : 0.001856ms
Output for 4.4.6
No math took : 0.001578ms
Output for 4.4.5
No math took : 0.001815ms
Output for 4.4.4
No math took : 0.001834ms
Output for 4.4.3
No math took : 0.001719ms
Output for 4.4.2
No math took : 0.002312ms
Output for 4.4.1
No math took : 0.002175ms
Output for 4.4.0
No math took : 0.001149ms
Output for 4.3.11
No math took : 0.002531ms
Output for 4.3.10
No math took : 0.00205ms
Output for 4.3.9
No math took : 0.001637ms
Output for 4.3.8
No math took : 0.002081ms
Output for 4.3.7
No math took : 0.003202ms
Output for 4.3.6
No math took : 0.001887ms
Output for 4.3.5
No math took : 0.001585ms
Output for 4.3.4
No math took : 0.001302ms
Output for 4.3.3
No math took : 0.00131ms
Output for 4.3.2
No math took : 0.002006ms
Output for 4.3.1
No math took : 0.00135ms
Output for 4.3.0
No math took : 0.001892ms

preferences:
198.04 ms | 401 KiB | 216 Q