3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t1 = microtime(true); $i = 1000; $a; while ($i--) { $a = 1; } echo (microtime(true) - $t1) * 1000000;
based on V9Z78
Output for 7.1.0
18.835067749023
Output for 7.0.14
16.927719116211
Output for 7.0.5, 7.0.10
14.066696166992
Output for 7.0.9
16.212463378906
Output for 7.0.1, 7.0.3, 7.0.8
15.974044799805
Output for 7.0.7
15.020370483398
Output for 7.0.6
9.7751617431641
Output for 7.0.0, 7.0.4
13.828277587891
Output for 7.0.2
10.013580322266
Output for hhvm-3.12.0
Notice: Undefined variable: a in /in/1lPWu on line 5 262.02201843262
Output for hhvm-3.10.0
Notice: Undefined variable: a in /in/1lPWu on line 5 230.07392883301
Output for 5.3.6, 5.3.29, 5.4.32, 5.5.1, 5.5.30, 5.6.8, 5.6.28
30.040740966797
Output for 5.6.25
18.119812011719
Output for 5.4.19, 5.4.22, 5.5.3, 5.5.27, 5.6.24
32.901763916016
Output for 5.6.23
22.172927856445
Output for 5.4.12, 5.4.42, 5.6.9, 5.6.13, 5.6.22
20.027160644531
Output for 5.3.13, 5.6.21
29.802322387695
Output for 5.2.5 - 5.2.6, 5.2.17, 5.3.10, 5.4.9, 5.4.11, 5.4.16, 5.4.25, 5.5.12, 5.5.16, 5.5.25, 5.5.29, 5.6.2, 5.6.10, 5.6.18, 5.6.20
31.948089599609
Output for 5.1.2, 5.2.0, 5.2.10, 5.5.4, 5.5.23, 5.6.16, 5.6.19
34.093856811523
Output for 5.4.8, 5.4.35 - 5.4.36, 5.5.28, 5.6.12, 5.6.17
29.087066650391
Output for 5.4.4, 5.5.14, 5.6.15
19.073486328125
Output for 5.3.4 - 5.3.5, 5.4.3, 5.4.10, 5.4.34, 5.5.15, 5.5.18, 5.6.4 - 5.6.5, 5.6.14
25.033950805664
Output for 5.3.7, 5.3.19, 5.4.1, 5.5.20, 5.5.24, 5.6.0, 5.6.11
27.894973754883
Output for 5.4.18, 5.4.45, 5.6.7
28.133392333984
Output for 5.4.5, 5.4.17, 5.4.29, 5.6.6
24.080276489258
Output for 5.4.30, 5.4.37 - 5.4.38, 5.4.40, 5.5.22, 5.5.38, 5.6.3
20.980834960938
Output for 5.2.7 - 5.2.8, 5.2.11, 5.2.14, 5.3.26, 5.4.15, 5.4.24, 5.5.2, 5.5.5, 5.5.21, 5.5.36, 5.6.1
30.994415283203
Output for 5.1.3, 5.2.2, 5.4.2, 5.4.26, 5.5.13, 5.5.19, 5.5.26, 5.5.37
32.186508178711
Output for 5.5.35
26.226043701172
Output for 5.5.34
23.126602172852
Output for 5.2.15, 5.3.8, 5.5.33
33.855438232422
Output for 5.5.32
22.88818359375
Output for 5.3.0, 5.3.2, 5.5.10 - 5.5.11, 5.5.31
25.98762512207
Output for 5.5.9
23.841857910156
Output for 5.2.9, 5.5.6, 5.5.8
33.140182495117
Output for 5.3.15, 5.5.7
46.968460083008
Output for 5.5.0
27.179718017578
Output for 5.2.1, 5.3.1, 5.4.0, 5.4.7, 5.4.28, 5.4.31, 5.4.39, 5.4.44
26.941299438477
Output for 5.4.6, 5.4.13 - 5.4.14, 5.4.41, 5.4.43
28.848648071289
Output for 5.4.27
49.114227294922
Output for 5.3.12, 5.4.23
24.795532226562
Output for 5.4.21
21.934509277344
Output for 5.4.20
38.14697265625
Output for 5.3.22, 5.3.28
36.954879760742
Output for 5.3.11, 5.3.27
36.001205444336
Output for 5.3.25
39.815902709961
Output for 5.3.23 - 5.3.24
43.153762817383
Output for 5.3.21
42.200088500977
Output for 5.3.20
53.882598876953
Output for 5.3.18
38.862228393555
Output for 5.3.17
35.04753112793
Output for 5.3.16
41.961669921875
Output for 5.2.3 - 5.2.4, 5.2.16, 5.3.14
41.007995605469
Output for 5.1.5, 5.3.9
39.100646972656
Output for 5.1.0, 5.3.3
44.107437133789
Output for 5.2.13
48.87580871582
Output for 5.2.12
37.908554077148
Output for 5.1.6
43.869018554688
Output for 5.1.4
54.121017456055
Output for 5.1.1
52.213668823242
Output for 5.0.5
Notice: Undefined variable: a in /in/1lPWu on line 5 120.87821960449
Output for 5.0.4
Notice: Undefined variable: a in /in/1lPWu on line 5 94.890594482422
Output for 5.0.3
Notice: Undefined variable: a in /in/1lPWu on line 5 91.075897216797
Output for 5.0.2
Notice: Undefined variable: a in /in/1lPWu on line 5 90.122222900391
Output for 5.0.1
Notice: Undefined variable: a in /in/1lPWu on line 5 168.0850982666
Output for 5.0.0
Notice: Undefined variable: a in /in/1lPWu on line 5 80.108642578125
Output for 4.4.1, 4.4.9
Notice: Undefined variable: a in /in/1lPWu on line 5 129
Output for 4.3.1, 4.4.8
Notice: Undefined variable: a in /in/1lPWu on line 5 86
Output for 4.4.7
Notice: Undefined variable: a in /in/1lPWu on line 5 91
Output for 4.4.6
Notice: Undefined variable: a in /in/1lPWu on line 5 174
Output for 4.3.11, 4.4.5
Notice: Undefined variable: a in /in/1lPWu on line 5 136
Output for 4.4.4
Notice: Undefined variable: a in /in/1lPWu on line 5 159
Output for 4.4.3
Notice: Undefined variable: a in /in/1lPWu on line 5 202
Output for 4.4.2
Notice: Undefined variable: a in /in/1lPWu on line 5 85
Output for 4.4.0
Notice: Undefined variable: a in /in/1lPWu on line 5 101
Output for 4.3.10
Notice: Undefined variable: a in /in/1lPWu on line 5 137
Output for 4.3.4, 4.3.9
Notice: Undefined variable: a in /in/1lPWu on line 5 112
Output for 4.3.8
Notice: Undefined variable: a in /in/1lPWu on line 5 113
Output for 4.3.7
Notice: Undefined variable: a in /in/1lPWu on line 5 151
Output for 4.3.6
Notice: Undefined variable: a in /in/1lPWu on line 5 78
Output for 4.3.5
Notice: Undefined variable: a in /in/1lPWu on line 5 100
Output for 4.3.3
Notice: Undefined variable: a in /in/1lPWu on line 5 96
Output for 4.3.2
Notice: Undefined variable: a in /in/1lPWu on line 5 93
Output for 4.3.0
Notice: Undefined variable: a in /in/1lPWu on line 5 84