3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $m = microtime(1); for ($i=0;$i<1000000;$i++) { $test = 40 == 40; } print microtime(1) - $m . "\n"; $m = microtime(1); for ($i=0;$i<1000000;$i++) { $test = 40 === 40; } print microtime(1) - $m;
Output for 7.1.0
0.0093510150909424 0.0093729496002197
Output for 7.0.14
0.017339944839478 0.01629900932312
Output for 7.0.10
0.015148878097534 0.014356851577759
Output for 7.0.9
0.011477947235107 0.011299848556519
Output for 7.0.8
0.011237144470215 0.010945081710815
Output for 7.0.7
0.012397050857544 0.012084007263184
Output for 7.0.6
0.015327930450439 0.014663934707642
Output for 7.0.5
0.015101909637451 0.013962984085083
Output for 7.0.4
0.013005971908569 0.012547969818115
Output for 7.0.3
0.014825820922852 0.01419997215271
Output for 7.0.2
0.016450881958008 0.012557029724121
Output for 7.0.1
0.016155958175659 0.015221118927002
Output for 7.0.0
0.013703107833862 0.013103008270264
Output for hhvm-3.12.0
0.060109853744507 0.066177129745483
Output for hhvm-3.10.0
0.081505060195923 0.08649206161499
Output for 5.6.28
0.081636190414429 0.068982839584351
Output for 5.6.25
0.040728807449341 0.042117118835449
Output for 5.6.24
0.041964054107666 0.036654949188232
Output for 5.6.23
0.045073986053467 0.047475099563599
Output for 5.6.22
0.031759977340698 0.032490968704224
Output for 5.6.21
0.033746957778931 0.035304069519043
Output for 5.6.20
0.040467023849487 0.037619113922119
Output for 5.6.19
0.041891098022461 0.041843891143799
Output for 5.6.18
0.037172794342041 0.038633823394775
Output for 5.6.17
0.040928840637207 0.041361093521118
Output for 5.6.16
0.033662796020508 0.034346103668213
Output for 5.6.15
0.042625904083252 0.037213087081909
Output for 5.6.14
0.038827180862427 0.039348125457764
Output for 5.6.13
0.040438890457153 0.041002988815308
Output for 5.6.12
0.04320502281189 0.040862798690796
Output for 5.6.11
0.040663003921509 0.03662896156311
Output for 5.6.10
0.032730102539062 0.03270697593689
Output for 5.6.9
0.032817840576172 0.031848907470703
Output for 5.6.8
0.035544157028198 0.032700061798096
Output for 5.6.7
0.037482023239136 0.036025047302246
Output for 5.6.6
0.043105125427246 0.039758920669556
Output for 5.6.5
0.049772977828979 0.045186042785645
Output for 5.6.4
0.044141054153442 0.038877964019775
Output for 5.6.3
0.03937292098999 0.035413026809692
Output for 5.6.2
0.042897939682007 0.040237903594971
Output for 5.6.1
0.042248964309692 0.033817052841187
Output for 5.6.0
0.035934925079346 0.034882783889771
Output for 5.5.38
0.031965970993042 0.034268140792847
Output for 5.5.37
0.042213916778564 0.041359901428223
Output for 5.5.36
0.037920951843262 0.032202959060669
Output for 5.5.35
0.038726091384888 0.037436008453369
Output for 5.5.34
0.034443140029907 0.030495882034302
Output for 5.5.33
0.043576955795288 0.032711982727051
Output for 5.5.32
0.041019201278687 0.03885293006897
Output for 5.5.31
0.036955833435059 0.034536123275757
Output for 5.5.30
0.037261009216309 0.037562847137451
Output for 5.5.29
0.035890817642212 0.035534858703613
Output for 5.5.28
0.038674116134644 0.035315990447998
Output for 5.5.27
0.04237699508667 0.039775848388672
Output for 5.5.26
0.04336404800415 0.040923833847046
Output for 5.5.25
0.045352935791016 0.041840076446533
Output for 5.5.24
0.029518127441406 0.030528783798218
Output for 5.5.23
0.039832830429077 0.037652969360352
Output for 5.5.22
0.039713144302368 0.035983085632324
Output for 5.5.21
0.033570051193237 0.033427000045776
Output for 5.5.20
0.046733856201172 0.036248922348022
Output for 5.5.19
0.045041084289551 0.036494016647339
Output for 5.5.18
0.034803867340088 0.031377077102661
Output for 5.5.16
0.041387796401978 0.03253698348999
Output for 5.5.15
0.042970895767212 0.034337997436523
Output for 5.5.14
0.038303136825562 0.03538703918457
Output for 5.5.13
0.043164968490601 0.040240049362183
Output for 5.5.12
0.039767026901245 0.038368940353394
Output for 5.5.11
0.040108919143677 0.038773059844971
Output for 5.5.10
0.04311990737915 0.04032301902771
Output for 5.5.9
0.039939165115356 0.037290096282959
Output for 5.5.8
0.040781021118164 0.034615993499756
Output for 5.5.7
0.043600082397461 0.040250062942505
Output for 5.5.6
0.045184135437012 0.036200046539307
Output for 5.5.5
0.042824029922485 0.039079904556274
Output for 5.5.4
0.043799877166748 0.035768985748291
Output for 5.5.3
0.039232969284058 0.030168056488037
Output for 5.5.2
0.037364959716797 0.035928964614868
Output for 5.5.1
0.028140068054199 0.03015398979187
Output for 5.5.0
0.041844844818115 0.040320873260498
Output for 5.4.45
0.03429388999939 0.035116910934448
Output for 5.4.44
0.033066987991333 0.030977964401245
Output for 5.4.43
0.036087036132812 0.033695220947266
Output for 5.4.42
0.04404091835022 0.039361000061035
Output for 5.4.41
0.037889957427979 0.031662940979004
Output for 5.4.40
0.046108961105347 0.040812015533447
Output for 5.4.39
0.042361974716187 0.031507015228271
Output for 5.4.38
0.04087495803833 0.037229061126709
Output for 5.4.37
0.035668134689331 0.033412933349609
Output for 5.4.36
0.039555072784424 0.034498929977417
Output for 5.4.35
0.042645931243896 0.038525819778442
Output for 5.4.34
0.044318914413452 0.039599895477295
Output for 5.4.32
0.045486927032471 0.034997224807739
Output for 5.4.31
0.043183088302612 0.036324024200439
Output for 5.4.30
0.041329860687256 0.039903879165649
Output for 5.4.29
0.045370101928711 0.040263891220093
Output for 5.4.28
0.041056871414185 0.036171913146973
Output for 5.4.27
0.042206048965454 0.038498878479004
Output for 5.4.26
0.046972036361694 0.038825035095215
Output for 5.4.25
0.043020009994507 0.032449007034302
Output for 5.4.24
0.030791997909546 0.030623197555542
Output for 5.4.23
0.047783851623535 0.044402122497559
Output for 5.4.22
0.043060064315796 0.03781795501709
Output for 5.4.21
0.042221784591675 0.037970066070557
Output for 5.4.20
0.04447603225708 0.034414052963257
Output for 5.4.19
0.043987989425659 0.034679889678955
Output for 5.4.18
0.04284405708313 0.033207893371582
Output for 5.4.17
0.03161096572876 0.031274080276489
Output for 5.4.16
0.04017186164856 0.032516002655029
Output for 5.4.15
0.040814161300659 0.037177085876465
Output for 5.4.14
0.043790102005005 0.035177946090698
Output for 5.4.13
0.040817022323608 0.034614086151123
Output for 5.4.12
0.045229911804199 0.035794973373413
Output for 5.4.11
0.045646905899048 0.040236949920654
Output for 5.4.10
0.061410903930664 0.03746509552002
Output for 5.4.9
0.042097091674805 0.037956953048706
Output for 5.4.8
0.043724775314331 0.033102989196777
Output for 5.4.7
0.039824962615967 0.034693956375122
Output for 5.4.6
0.04275107383728 0.038512945175171
Output for 5.4.5
0.031380891799927 0.029995918273926
Output for 5.4.4
0.039335012435913 0.035084962844849
Output for 5.4.3
0.041869878768921 0.036646127700806
Output for 5.4.2
0.040519952774048 0.032143115997314
Output for 5.4.1
0.045617818832397 0.039741992950439
Output for 5.4.0
0.044779062271118 0.035391092300415
Output for 5.3.29
0.058058023452759 0.044118881225586
Output for 5.3.28
0.060096025466919 0.042810916900635
Output for 5.3.27
0.065371990203857 0.046727895736694
Output for 5.3.26
0.052889823913574 0.043040037155151
Output for 5.3.25
0.062433958053589 0.050926923751831
Output for 5.3.24
0.056910037994385 0.046168088912964
Output for 5.3.23
0.061231851577759 0.050796031951904
Output for 5.3.22
0.061043977737427 0.046534061431885
Output for 5.3.21
0.061975002288818 0.049256086349487
Output for 5.3.20
0.058605909347534 0.046941995620728
Output for 5.3.19
0.058984994888306 0.050625085830688
Output for 5.3.18
0.062721967697144 0.040131092071533
Output for 5.3.17
0.059293985366821 0.048299074172974
Output for 5.3.16
0.056279897689819 0.045831918716431
Output for 5.3.15
0.055747985839844 0.040199995040894
Output for 5.3.14
0.061625003814697 0.048913955688477
Output for 5.3.13
0.061024904251099 0.053523063659668
Output for 5.3.12
0.063752889633179 0.054677963256836
Output for 5.3.11
0.052854061126709 0.049296855926514
Output for 5.3.10
0.050264120101929 0.039590835571289
Output for 5.3.9
0.063445091247559 0.050529956817627
Output for 5.3.8
0.056056022644043 0.04043984413147
Output for 5.3.7
0.066637992858887 0.052202939987183
Output for 5.3.6
0.060958862304688 0.048583030700684
Output for 5.3.5
0.06400203704834 0.050236940383911
Output for 5.3.4
0.061966896057129 0.047148942947388
Output for 5.3.3
0.052549123764038 0.04059100151062
Output for 5.3.2
0.064075946807861 0.052433967590332
Output for 5.3.1
0.058567047119141 0.047991037368774
Output for 5.3.0
0.064241886138916 0.042346000671387
Output for 5.2.17
0.070027828216553 0.052651166915894
Output for 5.2.16
0.089257955551147 0.061562061309814
Output for 5.2.15
0.084455966949463 0.052029132843018
Output for 5.2.14
0.094166994094849 0.061852216720581
Output for 5.2.13
0.097814083099365 0.061980962753296
Output for 5.2.12
0.09041690826416 0.070736169815063
Output for 5.2.11
0.088594198226929 0.058003902435303
Output for 5.2.10
0.086763858795166 0.058887958526611
Output for 5.2.9
0.097541093826294 0.064977884292603
Output for 5.2.8
0.095331907272339 0.063565015792847
Output for 5.2.7
0.075824022293091 0.054256916046143
Output for 5.2.6
0.085458993911743 0.054535865783691
Output for 5.2.5
0.09007716178894 0.062870025634766
Output for 5.2.4
0.099593877792358 0.064491987228394
Output for 5.2.3
0.088239908218384 0.057739973068237
Output for 5.2.2
0.093931198120117 0.062593936920166
Output for 5.2.1
0.07542896270752 0.052342891693115
Output for 5.2.0
0.094155073165894 0.062825918197632
Output for 5.1.6
0.074453115463257 0.06059193611145
Output for 5.1.5
0.065961122512817 0.055716037750244
Output for 5.1.4
0.064527988433838 0.055243015289307
Output for 5.1.3
0.062031030654907 0.051808834075928
Output for 5.1.2
0.061069965362549 0.050654888153076
Output for 5.1.1
0.065577983856201 0.053647994995117
Output for 5.1.0
0.064343929290771 0.052740097045898
Output for 5.0.5
0.14478182792664 0.13965797424316
Output for 5.0.4
0.13668203353882 0.12732720375061
Output for 5.0.3
0.12337899208069 0.11231112480164
Output for 5.0.2
0.12515807151794 0.11546397209167
Output for 5.0.1
0.1234450340271 0.11548209190369
Output for 5.0.0
0.12666392326355 0.11398696899414
Output for 4.4.9
0.16693 0.116936
Output for 4.4.8
0.177288 0.115061
Output for 4.4.7
0.181829 0.116658
Output for 4.4.6
0.177191 0.122147
Output for 4.4.5
0.14923 0.116164
Output for 4.4.4
0.133962 0.119222
Output for 4.4.3
0.14115 0.117594
Output for 4.4.2
0.180993 0.121309
Output for 4.4.1
0.137557 0.120448
Output for 4.4.0
0.10671 0.099096
Output for 4.3.11
0.105453 0.09849
Output for 4.3.10
0.126438 0.096047
Output for 4.3.9
0.153759 0.115882
Output for 4.3.8
0.179495 0.126533
Output for 4.3.7
0.176402 0.118635
Output for 4.3.6
0.171966 0.12106
Output for 4.3.5
0.187551 0.118664
Output for 4.3.4
0.162987 0.113981
Output for 4.3.3
0.154559 0.118897
Output for 4.3.2
0.175498 0.114615
Output for 4.3.1
0.179434 0.140836
Output for 4.3.0
0.151855 0.114109