3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = microtime(true); $n = 1000000; $v = 12345; while($n--) { if (is_int($v) && $v > 0) { } } echo (microtime(true) - $t);
Output for 7.1.0
0.038306951522827
Output for 7.0.14
0.034792900085449
Output for 7.0.12
0.036897897720337
Output for 7.0.6
0.0295250415802
Output for 7.0.5
0.02476692199707
Output for 7.0.4
0.032413005828857
Output for 7.0.3
0.028939008712769
Output for 7.0.2
0.024482011795044
Output for 7.0.1
0.021011114120483
Output for 7.0.0
0.021325826644897
Output for hhvm-3.12.0
0.041631937026978
Output for hhvm-3.10.0
0.05249285697937
Output for 5.6.28
0.10300302505493
Output for 5.6.21
0.096529006958008
Output for 5.6.20
0.10534191131592
Output for 5.6.19
0.13005900382996
Output for 5.6.18
0.093116998672485
Output for 5.6.17
0.1088387966156
Output for 5.6.16
0.088519096374512
Output for 5.6.15
0.080449104309082
Output for 5.6.14
0.086817026138306
Output for 5.6.13
0.10264897346497
Output for 5.6.12
0.084747076034546
Output for 5.6.11
0.091353178024292
Output for 5.6.10
0.10468196868896
Output for 5.6.9
0.0903639793396
Output for 5.6.8
0.086992025375366
Output for 5.6.7
0.093425989151001
Output for 5.5.35
0.10464811325073
Output for 5.5.34
0.090902805328369
Output for 5.5.33
0.08951210975647
Output for 5.5.32
0.11705493927002
Output for 5.5.31
0.091623067855835
Output for 5.5.30
0.10190796852112
Output for 5.5.29
0.10959005355835
Output for 5.5.28
0.10191702842712
Output for 5.5.27
0.097057819366455
Output for 5.5.26
0.090811967849731
Output for 5.5.25
0.1073272228241
Output for 5.5.24
0.10179686546326
Output for 5.4.45
0.10953712463379
Output for 5.4.44
0.11228680610657
Output for 5.4.43
0.11241793632507
Output for 5.4.42
0.10368204116821
Output for 5.4.41
0.088429927825928
Output for 5.4.40
0.083287954330444
Output for 5.4.39
0.096121788024902
Output for 5.4.38
0.086432218551636
Output for 5.4.37
0.10907793045044
Output for 5.4.36
0.090257883071899
Output for 5.4.35
0.11641621589661
Output for 5.4.34
0.11029005050659
Output for 5.4.32
0.10500288009644
Output for 5.4.31
0.10678815841675
Output for 5.4.30
0.099102020263672
Output for 5.4.29
0.11886692047119
Output for 5.4.28
0.10192608833313
Output for 5.4.27
0.10318207740784
Output for 5.4.26
0.11385989189148
Output for 5.4.25
0.10691499710083
Output for 5.4.24
0.1098690032959
Output for 5.4.23
0.10728907585144
Output for 5.4.22
0.1011791229248
Output for 5.4.21
0.10565996170044
Output for 5.4.20
0.11301207542419
Output for 5.4.19
0.10342502593994
Output for 5.4.18
0.089423894882202
Output for 5.4.17
0.10899806022644
Output for 5.4.16
0.11540985107422
Output for 5.4.15
0.089485883712769
Output for 5.4.14
0.10265207290649
Output for 5.4.13
0.090013027191162
Output for 5.4.12
0.11492800712585
Output for 5.4.11
0.10400605201721
Output for 5.4.10
0.085753917694092
Output for 5.4.9
0.10180807113647
Output for 5.4.8
0.11249995231628
Output for 5.4.7
0.10520315170288
Output for 5.4.6
0.11184000968933
Output for 5.4.5
0.10438013076782
Output for 5.4.4
0.11921095848083
Output for 5.4.3
0.12509703636169
Output for 5.4.2
0.10596704483032
Output for 5.4.1
0.11086392402649
Output for 5.4.0
0.091434955596924
Output for 5.3.29
0.12740421295166
Output for 5.3.28
0.122309923172
Output for 5.3.27
0.12741708755493
Output for 5.3.26
0.13025903701782
Output for 5.3.25
0.12205505371094
Output for 5.3.24
0.12211298942566
Output for 5.3.23
0.10561609268188
Output for 5.3.22
0.1304771900177
Output for 5.3.21
0.12025499343872
Output for 5.3.20
0.12291479110718
Output for 5.3.19
0.10532307624817
Output for 5.3.18
0.10577893257141
Output for 5.3.17
0.13218379020691
Output for 5.3.16
0.10526299476624
Output for 5.3.15
0.14851593971252
Output for 5.3.14
0.10414695739746
Output for 5.3.13
0.11423110961914
Output for 5.3.12
0.10607290267944
Output for 5.3.11
0.13380193710327
Output for 5.3.10
0.13026189804077
Output for 5.3.9
0.11140513420105
Output for 5.3.8
0.12290596961975
Output for 5.3.7
0.12902498245239
Output for 5.3.6
0.12317681312561
Output for 5.3.5
0.15017414093018
Output for 5.3.4
0.12771582603455
Output for 5.3.3
0.12619209289551
Output for 5.3.2
0.12356400489807
Output for 5.3.1
0.11162900924683
Output for 5.3.0
0.10015487670898
Output for 5.2.17
0.13899397850037
Output for 5.2.16
0.14718508720398
Output for 5.2.15
0.11853504180908
Output for 5.2.14
0.11182308197021
Output for 5.2.13
0.12815093994141
Output for 5.2.12
0.11391878128052
Output for 5.2.11
0.13177990913391
Output for 5.2.10
0.1130268573761
Output for 5.2.9
0.11617112159729
Output for 5.2.8
0.11373114585876
Output for 5.2.7
0.10953998565674
Output for 5.2.6
0.10670185089111
Output for 5.2.5
0.13760209083557
Output for 5.2.4
0.11449384689331
Output for 5.2.3
0.11159682273865
Output for 5.2.2
0.13017606735229
Output for 5.2.1
0.1069118976593
Output for 5.2.0
0.1068229675293
Output for 5.1.6
0.10378694534302
Output for 5.1.5
0.11171197891235
Output for 5.1.4
0.14265203475952
Output for 5.1.3
0.1396369934082
Output for 5.1.2
0.10356307029724
Output for 5.1.1
0.1308331489563
Output for 5.1.0
0.12649393081665
Output for 5.0.5
0.29158806800842
Output for 5.0.4
0.25020909309387
Output for 5.0.3
0.22477698326111
Output for 5.0.2
0.24418091773987
Output for 5.0.1
0.23204302787781
Output for 5.0.0
0.20682716369629
Output for 4.4.9
0.211018
Output for 4.4.8
-0.814178
Output for 4.4.7
0.182617
Output for 4.4.6
0.211381
Output for 4.4.5
-0.793204
Output for 4.4.4
-0.811362
Output for 4.4.3
0.236133
Output for 4.4.2
0.194664
Output for 4.4.1
0.240293
Output for 4.4.0
0.235309
Output for 4.3.11
0.232502
Output for 4.3.10
-0.761808
Output for 4.3.9
0.233193
Output for 4.3.8
0.22322
Output for 4.3.7
0.200042
Output for 4.3.6
0.19808
Output for 4.3.5
-0.759649
Output for 4.3.4
0.223861
Output for 4.3.3
0.232541
Output for 4.3.2
-0.786434
Output for 4.3.1
0.211214
Output for 4.3.0
0.228478