3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = microtime(true); $n = 1000000; $v = 12345; while($n--) { if (is_numeric($v) && $v > 0) { } } echo (microtime(true) - $t);
Output for 7.1.0
0.053315162658691
Output for 7.0.14
0.043690919876099
Output for 7.0.12
0.04932689666748
Output for 7.0.6
0.028146982192993
Output for 7.0.5
0.039999008178711
Output for 7.0.4
0.030044794082642
Output for 7.0.3
0.035634994506836
Output for 7.0.2
0.037151098251343
Output for 7.0.1
0.038645029067993
Output for 7.0.0
0.041573047637939
Output for hhvm-3.12.0
0.072701930999756
Output for hhvm-3.10.0
0.083211898803711
Output for 5.6.21
0.097931146621704
Output for 5.6.20
0.09379506111145
Output for 5.6.19
0.081515073776245
Output for 5.6.18
0.083005905151367
Output for 5.6.17
0.08794903755188
Output for 5.6.16
0.1021249294281
Output for 5.6.15
0.08098292350769
Output for 5.6.14
0.084259986877441
Output for 5.6.13
0.099380016326904
Output for 5.6.12
0.094640970230103
Output for 5.6.11
0.089752912521362
Output for 5.6.10
0.095187902450562
Output for 5.6.9
0.09765887260437
Output for 5.6.8
0.10430502891541
Output for 5.5.35
0.10146403312683
Output for 5.5.34
0.098082065582275
Output for 5.5.33
0.086328029632568
Output for 5.5.32
0.084578037261963
Output for 5.5.31
0.088166952133179
Output for 5.5.30
0.085365056991577
Output for 5.5.29
0.085216999053955
Output for 5.5.28
0.086414813995361
Output for 5.5.27
0.10918807983398
Output for 5.5.26
0.10453701019287
Output for 5.5.25
0.10842108726501
Output for 5.5.24
0.10477304458618
Output for 5.4.45
0.085736989974976
Output for 5.4.44
0.097225904464722
Output for 5.4.43
0.085124015808105
Output for 5.4.42
0.10438799858093
Output for 5.4.41
0.094434976577759
Output for 5.4.40
0.085888147354126
Output for 5.4.39
0.083924055099487
Output for 5.4.38
0.10251498222351
Output for 5.4.37
0.093050003051758
Output for 5.4.36
0.094188928604126
Output for 5.4.35
0.091384887695312
Output for 5.4.34
0.088201999664307
Output for 5.4.32
0.091333150863647
Output for 5.4.31
0.099081039428711
Output for 5.4.30
0.10718894004822
Output for 5.4.29
0.10527086257935
Output for 5.4.28
0.09272313117981
Output for 5.4.27
0.10969281196594
Output for 5.4.26
0.085021018981934
Output for 5.4.25
0.10408091545105
Output for 5.4.24
0.09259295463562
Output for 5.4.23
0.08545708656311
Output for 5.4.22
0.093525886535645
Output for 5.4.21
0.11908197402954
Output for 5.4.20
0.084365844726562
Output for 5.4.19
0.095703125
Output for 5.4.18
0.10437107086182
Output for 5.4.17
0.091032981872559
Output for 5.4.16
0.093702793121338
Output for 5.4.15
0.085623025894165
Output for 5.4.14
0.08349609375
Output for 5.4.13
0.11343812942505
Output for 5.4.12
0.099933862686157
Output for 5.4.11
0.10856890678406
Output for 5.4.10
0.10458302497864
Output for 5.4.9
0.11151218414307
Output for 5.4.8
0.11301493644714
Output for 5.4.7
0.090197086334229
Output for 5.4.6
0.084948062896729
Output for 5.4.5
0.11455798149109
Output for 5.4.4
0.084117889404297
Output for 5.4.3
0.11490511894226
Output for 5.4.2
0.093641996383667
Output for 5.4.1
0.1019561290741
Output for 5.4.0
0.10969209671021
Output for 5.3.29
0.13438391685486
Output for 5.3.28
0.10316395759583
Output for 5.3.27
0.10926294326782
Output for 5.3.26
0.10119009017944
Output for 5.3.25
0.11255502700806
Output for 5.3.24
0.11309480667114
Output for 5.3.23
0.11977195739746
Output for 5.3.22
0.10348010063171
Output for 5.3.21
0.14822387695312
Output for 5.3.20
0.10302901268005
Output for 5.3.19
0.10640406608582
Output for 5.3.18
0.11300206184387
Output for 5.3.17
0.12728190422058
Output for 5.3.16
0.1129629611969
Output for 5.3.15
0.1260929107666
Output for 5.3.14
0.10387015342712
Output for 5.3.13
0.11895704269409
Output for 5.3.12
0.16076993942261
Output for 5.3.11
0.12488603591919
Output for 5.3.10
0.11440587043762
Output for 5.3.9
0.11363410949707
Output for 5.3.8
0.13498115539551
Output for 5.3.7
0.12830090522766
Output for 5.3.6
0.13284182548523
Output for 5.3.5
0.12333989143372
Output for 5.3.4
0.14945602416992
Output for 5.3.3
0.13162899017334
Output for 5.3.2
0.13197493553162
Output for 5.3.1
0.11069917678833
Output for 5.3.0
0.10221195220947
Output for 5.2.17
0.11158299446106
Output for 5.2.16
0.14460611343384
Output for 5.2.15
0.12561392784119
Output for 5.2.14
0.13923406600952
Output for 5.2.13
0.14423799514771
Output for 5.2.12
0.13537788391113
Output for 5.2.11
0.14174699783325
Output for 5.2.10
0.11335396766663
Output for 5.2.9
0.1206841468811
Output for 5.2.8
0.11423397064209
Output for 5.2.7
0.12281513214111
Output for 5.2.6
0.11179518699646
Output for 5.2.5
0.11383605003357
Output for 5.2.4
0.11387515068054
Output for 5.2.3
0.11496591567993
Output for 5.2.2
0.10951209068298
Output for 5.2.1
0.10793876647949
Output for 5.2.0
0.11114692687988
Output for 5.1.6
0.14171409606934
Output for 5.1.5
0.10382103919983
Output for 5.1.4
0.10335397720337
Output for 5.1.3
0.11649203300476
Output for 5.1.2
0.099143981933594
Output for 5.1.1
0.10334086418152
Output for 5.1.0
0.1051070690155
Output for 5.0.5
0.25834393501282
Output for 5.0.4
0.282634973526
Output for 5.0.3
0.23057508468628
Output for 5.0.2
0.23831009864807
Output for 5.0.1
0.20451712608337
Output for 5.0.0
0.22179102897644
Output for 4.4.9
0.203396
Output for 4.4.8
0.233506
Output for 4.4.7
0.184552
Output for 4.4.6
0.219989
Output for 4.4.5
0.187873
Output for 4.4.4
0.189798
Output for 4.4.3
0.192695
Output for 4.4.2
0.193019
Output for 4.4.1
0.239645
Output for 4.4.0
-0.811118
Output for 4.3.11
0.230542
Output for 4.3.10
0.238239
Output for 4.3.9
0.19893
Output for 4.3.8
0.23132
Output for 4.3.7
0.231617
Output for 4.3.6
-0.779783
Output for 4.3.5
0.21771
Output for 4.3.4
0.229546
Output for 4.3.3
0.200647
Output for 4.3.2
0.225006
Output for 4.3.1
-0.775984
Output for 4.3.0
0.186242