3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t1 = microtime(true); $i = 1000; $a; while ($i--) { $a = 12.23 + 45.1 * (0.5 - 0.21); } echo (microtime(true) - $t1) * 1000000;
based on 1lPWu
Output for 7.1.0
19.073486328125
Output for 7.0.14
17.166137695312
Output for 7.0.6
23.841857910156
Output for 7.0.3, 7.0.5
10.013580322266
Output for 7.0.2, 7.0.4
9.7751617431641
Output for 7.0.1
13.113021850586
Output for 7.0.0
17.881393432617
Output for 5.4.21, 5.6.28
49.114227294922
Output for 5.4.9, 5.4.26 - 5.4.27, 5.6.14, 5.6.21
38.14697265625
Output for 5.6.20
32.186508178711
Output for 5.6.19
31.232833862305
Output for 5.4.4, 5.4.8, 5.4.10, 5.4.14, 5.4.19, 5.4.29, 5.4.34, 5.4.44, 5.6.18
30.040740966797
Output for 5.3.23, 5.3.28, 5.4.18, 5.4.28, 5.4.31, 5.5.35, 5.6.16 - 5.6.17
42.915344238281
Output for 5.3.11, 5.3.19, 5.3.24, 5.6.15
63.896179199219
Output for 5.4.22, 5.6.13
44.107437133789
Output for 5.4.15, 5.4.42, 5.6.12
41.007995605469
Output for 5.3.7, 5.3.10, 5.3.13, 5.6.11
50.067901611328
Output for 5.6.10
42.200088500977
Output for 5.2.7, 5.6.9
55.074691772461
Output for 5.3.18, 5.3.26, 5.5.24, 5.5.26, 5.6.8
47.922134399414
Output for 5.6.7
43.869018554688
Output for 5.5.34
48.160552978516
Output for 5.5.33
36.954879760742
Output for 5.4.24, 5.4.38, 5.5.32
35.04753112793
Output for 5.5.31
37.908554077148
Output for 5.5.30
50.783157348633
Output for 5.5.29
34.809112548828
Output for 5.5.28
46.014785766602
Output for 5.4.2, 5.4.6, 5.4.12, 5.5.27
30.994415283203
Output for 5.2.1, 5.2.11, 5.3.5, 5.5.25
51.021575927734
Output for 5.4.45
39.100646972656
Output for 5.4.0, 5.4.17, 5.4.39, 5.4.43
29.087066650391
Output for 5.4.20, 5.4.41
36.001205444336
Output for 5.4.40
34.093856811523
Output for 5.4.35 - 5.4.37
31.948089599609
Output for 5.4.32
69.141387939453
Output for 5.4.30
33.855438232422
Output for 5.4.16, 5.4.25
39.815902709961
Output for 5.4.11, 5.4.23
41.961669921875
Output for 5.3.15, 5.4.13
43.153762817383
Output for 5.4.7
27.894973754883
Output for 5.4.5
32.901763916016
Output for 5.4.3
46.968460083008
Output for 5.4.1
28.848648071289
Output for 5.2.17, 5.3.27, 5.3.29
62.942504882812
Output for 5.2.5, 5.3.20 - 5.3.21, 5.3.25
61.03515625
Output for 5.3.22
45.061111450195
Output for 5.3.17
71.048736572266
Output for 5.3.16
40.054321289062
Output for 5.3.14
65.088272094727
Output for 5.3.12
57.93571472168
Output for 5.1.1, 5.2.15, 5.3.9
66.995620727539
Output for 5.3.8
53.882598876953
Output for 5.3.6
53.167343139648
Output for 5.3.4
110.86463928223
Output for 5.3.3
61.988830566406
Output for 5.3.2
68.902969360352
Output for 5.3.1
49.829483032227
Output for 5.2.10, 5.3.0
54.121017456055
Output for 5.2.16
95.844268798828
Output for 5.2.14
82.015991210938
Output for 5.1.2, 5.2.12 - 5.2.13
76.055526733398
Output for 5.2.9
87.02278137207
Output for 5.2.8
101.08947753906
Output for 5.2.6
74.148178100586
Output for 5.1.6, 5.2.4
52.928924560547
Output for 5.2.3
81.062316894531
Output for 5.2.2
82.969665527344
Output for 5.2.0
84.877014160156
Output for 5.1.5
89.883804321289
Output for 5.1.4
60.081481933594
Output for 5.1.3
85.115432739258
Output for 5.1.0
51.975250244141
Output for 5.0.5
Notice: Undefined variable: a in /in/qAX2i on line 5 154.97207641602
Output for 5.0.4
Notice: Undefined variable: a in /in/qAX2i on line 5 144.95849609375
Output for 5.0.3
Notice: Undefined variable: a in /in/qAX2i on line 5 161.88621520996
Output for 5.0.2
Notice: Undefined variable: a in /in/qAX2i on line 5 154.97207641602
Output for 5.0.1
Notice: Undefined variable: a in /in/qAX2i on line 5 195.98007202148
Output for 5.0.0
Notice: Undefined variable: a in /in/qAX2i on line 5 141.14379882812
Output for 4.4.9
Notice: Undefined variable: a in /in/qAX2i on line 5 210.00000000002
Output for 4.4.8
Notice: Undefined variable: a in /in/qAX2i on line 5 238.99999999999
Output for 4.4.7
Notice: Undefined variable: a in /in/qAX2i on line 5 222
Output for 4.4.6
Notice: Undefined variable: a in /in/qAX2i on line 5 187.99999999997
Output for 4.4.5
Notice: Undefined variable: a in /in/qAX2i on line 5 223.00000000008
Output for 4.4.4
Notice: Undefined variable: a in /in/qAX2i on line 5 164.99999999997
Output for 4.4.3
Notice: Undefined variable: a in /in/qAX2i on line 5 214.99999999997
Output for 4.4.2
Notice: Undefined variable: a in /in/qAX2i on line 5 183.00000000004
Output for 4.3.11, 4.4.1
Notice: Undefined variable: a in /in/qAX2i on line 5 230.00000000001
Output for 4.4.0
Notice: Undefined variable: a in /in/qAX2i on line 5 233.00000000001
Output for 4.3.10
Notice: Undefined variable: a in /in/qAX2i on line 5 147.99999999998
Output for 4.3.9
Notice: Undefined variable: a in /in/qAX2i on line 5 172.99999999998
Output for 4.3.8
Notice: Undefined variable: a in /in/qAX2i on line 5 209.99999999993
Output for 4.3.7
Notice: Undefined variable: a in /in/qAX2i on line 5 229.99999999995
Output for 4.3.6
Notice: Undefined variable: a in /in/qAX2i on line 5 125.99999999996
Output for 4.3.5
Notice: Undefined variable: a in /in/qAX2i on line 5 198.00000000003
Output for 4.3.4
Notice: Undefined variable: a in /in/qAX2i on line 5 234.99999999999
Output for 4.3.3
Notice: Undefined variable: a in /in/qAX2i on line 5 219
Output for 4.3.2
Notice: Undefined variable: a in /in/qAX2i on line 5 265.00000000002
Output for 4.3.1
Notice: Undefined variable: a in /in/qAX2i on line 5 225.99999999995
Output for 4.3.0
Notice: Undefined variable: a in /in/qAX2i on line 5 215.99999999999