3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $null = NULL; $empty = ''; $start=microtime(TRUE); for($i=0;$i<100000;$i++) { if($empty === '') { } } var_export(microtime(TRUE)-$start); echo "\n"; $start=microtime(TRUE); for($i=0;$i<100000;$i++) { if($null === NULL) { } } var_export(microtime(TRUE)-$start); echo "\n"; $start=microtime(TRUE); for($i=0;$i<100000;$i++) { if(!isset($null)) { } } var_export(microtime(TRUE)-$start); echo "\n";
Output for 7.1.0
0.004463911056518555 0.0021507740020751953 0.0030469894409179688
Output for 7.0.14
0.0024869441986083984 0.001956939697265625 0.0027000904083251953
Output for 7.0.6
0.0021660327911376953125 0.0016958713531494140625 0.002580165863037109375
Output for 7.0.5
0.0020568370819091796875 0.001689910888671875 0.0025041103363037109375
Output for 7.0.4
0.0023391246795654296875 0.0018150806427001953125 0.0025560855865478515625
Output for 7.0.3
0.0014798641204833984375 0.0010941028594970703125 0.0015799999237060546875
Output for 7.0.2
0.0014870166778564453125 0.0011141300201416015625 0.0015869140625
Output for 7.0.1
0.0016729831695556640625 0.0012218952178955078125 0.0018951892852783203125
Output for 7.0.0
0.001757144927978515625 0.0012638568878173828125 0.0018990039825439453125
Output for 5.6.28
0.0074977874755859375 0.0069777965545654297 0.0072448253631591797
Output for 5.6.21
0.005526065826416015625 0.00479793548583984375 0.005364894866943359375
Output for 5.6.20
0.0054199695587158203125 0.00504398345947265625 0.005443096160888671875
Output for 5.6.19
0.0051729679107666015625 0.004623889923095703125 0.0052030086517333984375
Output for 5.6.18
0.00346088409423828125 0.0031030178070068359375 0.0037629604339599609375
Output for 5.6.17
0.00422000885009765625 0.0037708282470703125 0.004168033599853515625
Output for 5.6.16
0.00537586212158203125 0.0049951076507568359375 0.004993915557861328125
Output for 5.6.15
0.005152225494384765625 0.0047218799591064453125 0.0053369998931884765625
Output for 5.6.14
0.0040760040283203125 0.00376987457275390625 0.0040938854217529296875
Output for 5.6.13
0.0033900737762451171875 0.003238201141357421875 0.00378894805908203125
Output for 5.6.12
0.0044019222259521484375 0.0040390491485595703125 0.0045130252838134765625
Output for 5.6.11
0.0044109821319580078125 0.0042400360107421875 0.004467010498046875
Output for 5.6.10
0.00397491455078125 0.0036680698394775390625 0.00399494171142578125
Output for 5.6.9
0.005240917205810546875 0.004826068878173828125 0.0053570270538330078125
Output for 5.6.8
0.0046031475067138671875 0.0044829845428466796875 0.0055701732635498046875
Output for 5.6.7
0.0033509731292724609375 0.0028858184814453125 0.003221035003662109375
Output for 5.5.35
0.005237102508544921875 0.0047590732574462890625 0.0051920413970947265625
Output for 5.5.34
0.0044920444488525390625 0.004315853118896484375 0.0046360492706298828125
Output for 5.5.33
0.004621028900146484375 0.0038988590240478515625 0.0043909549713134765625
Output for 5.5.32
0.00341701507568359375 0.003201007843017578125 0.0036208629608154296875
Output for 5.5.31
0.0033969879150390625 0.003324985504150390625 0.003652095794677734375
Output for 5.5.30
0.0033309459686279296875 0.0030949115753173828125 0.003530025482177734375
Output for 5.5.29
0.00492000579833984375 0.003714084625244140625 0.004212856292724609375
Output for 5.5.28
0.0034019947052001953125 0.00321197509765625 0.0036389827728271484375
Output for 5.5.27
0.003498077392578125 0.003449916839599609375 0.0036220550537109375
Output for 5.5.26
0.0051229000091552734375 0.0047280788421630859375 0.0052058696746826171875
Output for 5.5.25
0.00564098358154296875 0.0051720142364501953125 0.005268096923828125
Output for 5.5.24
0.00514316558837890625 0.004086971282958984375 0.005435943603515625
Output for 5.4.45
0.004765033721923828125 0.0045559406280517578125 0.004910945892333984375
Output for 5.4.44
0.0062692165374755859375 0.005950927734375 0.0050189495086669921875
Output for 5.4.43
0.0051701068878173828125 0.0056540966033935546875 0.00496196746826171875
Output for 5.4.42
0.0049779415130615234375 0.0058591365814208984375 0.005631923675537109375
Output for 5.4.41
0.0046398639678955078125 0.00494384765625 0.00518703460693359375
Output for 5.4.40
0.0051229000091552734375 0.004992961883544921875 0.005238056182861328125
Output for 5.4.39
0.0051782131195068359375 0.0066230297088623046875 0.0067501068115234375
Output for 5.4.38
0.004848003387451171875 0.0048439502716064453125 0.0070400238037109375
Output for 5.4.37
0.0055258274078369140625 0.0074799060821533203125 0.005874156951904296875
Output for 5.4.36
0.004622936248779296875 0.006742000579833984375 0.0048921108245849609375
Output for 5.4.35
0.0052130222320556640625 0.00681209564208984375 0.0076091289520263671875
Output for 5.4.34
0.0048329830169677734375 0.004931926727294921875 0.00526714324951171875
Output for 5.4.32
0.00386810302734375 0.0033609867095947265625 0.003696918487548828125
Output for 5.4.31
0.005196094512939453125 0.003407955169677734375 0.00374507904052734375
Output for 5.4.30
0.014286041259765625 0.004808902740478515625 0.0055179595947265625
Output for 5.4.29
0.010784149169921875 0.00380992889404296875 0.0039050579071044921875
Output for 5.4.28
0.0141370296478271484375 0.0066111087799072265625 0.0145089626312255859375
Output for 5.4.27
0.0075070858001708984375 0.0035140514373779296875 0.003987789154052734375
Output for 5.4.26
0.012283802032470703125 0.0052869319915771484375 0.0055968761444091796875
Output for 5.4.25
0.0112209320068359375 0.0033380985260009765625 0.0079658031463623046875
Output for 5.4.24
0.0044639110565185546875 0.0038011074066162109375 0.004662990570068359375
Output for 5.4.23
0.006865978240966796875 0.00362300872802734375 0.0057241916656494140625
Output for 5.4.22
0.0056750774383544921875 0.0034921169281005859375 0.005524158477783203125
Output for 5.4.21
0.0041320323944092 0.004065990447998 0.004770040512085
Output for 5.4.20
0.011992931365967 0.0034589767456055 0.0038571357727051
Output for 5.4.19
0.012687921524048 0.0050399303436279 0.0039620399475098
Output for 5.4.18
0.0037689208984375 0.0063068866729736 0.005720853805542
Output for 5.4.17
0.0058679580688477 0.003425121307373 0.011023998260498
Output for 5.4.16
0.012547969818115 0.0051150321960449 0.0037779808044434
Output for 5.4.15
0.010889053344727 0.0037989616394043 0.004558801651001
Output for 5.4.14
0.0098669528961182 0.0033378601074219 0.0038619041442871
Output for 5.4.13
0.013378143310547 0.0035779476165771 0.0040750503540039
Output for 5.4.12
0.0037519931793213 0.0043821334838867 0.0068321228027344
Output for 5.4.11
0.0036420822143555 0.0036230087280273 0.004410982131958
Output for 5.4.10
0.013032197952271 0.0035350322723389 0.0041470527648926
Output for 5.4.9
0.0035431385040283 0.0038778781890869 0.0038518905639648
Output for 5.4.8
0.0071990489959717 0.0038518905639648 0.0039420127868652
Output for 5.4.7
0.012649059295654 0.0034139156341553 0.0040009021759033
Output for 5.4.6
0.0036280155181885 0.0037050247192383 0.003878116607666
Output for 5.4.5
0.011788845062256 0.0095601081848145 0.0083119869232178
Output for 5.4.4
0.0036489963531494 0.0034630298614502 0.0041031837463379
Output for 5.4.3
0.0036230087280273 0.0034518241882324 0.0038628578186035
Output for 5.4.2
0.014499187469482 0.0050749778747559 0.0058479309082031
Output for 5.4.1
0.0036270618438721 0.0034921169281006 0.0038900375366211
Output for 5.4.0
0.0037679672241211 0.0033750534057617 0.0040819644927979
Output for 5.3.29
0.0043649673461914 0.0041098594665527 0.0045690536499023
Output for 5.3.28
0.0054488182067871 0.0049588680267334 0.0061788558959961
Output for 5.3.27
0.011312007904053 0.0041208267211914 0.0045270919799805
Output for 5.3.26
0.013184070587158 0.0046730041503906 0.0046911239624023
Output for 5.3.25
0.0084569454193115 0.0060009956359863 0.01422905921936
Output for 5.3.24
0.0061759948730469 0.0040509700775146 0.0046951770782471
Output for 5.3.23
0.011160850524902 0.0040130615234375 0.0045108795166016
Output for 5.3.22
0.011394023895264 0.0040309429168701 0.0049200057983398
Output for 5.3.21
0.013576030731201 0.0043399333953857 0.010751962661743
Output for 5.3.20
0.012442111968994 0.0042657852172852 0.0047497749328613
Output for 5.3.19
0.0075950622558594 0.0042779445648193 0.0045950412750244
Output for 5.3.18
0.011322975158691 0.0061099529266357 0.0064120292663574
Output for 5.3.17
0.013360977172852 0.0042450428009033 0.0058648586273193
Output for 5.3.16
0.0043210983276367 0.00484299659729 0.0053830146789551
Output for 5.3.15
0.0041868686676025 0.0046977996826172 0.013286828994751
Output for 5.3.14
0.013084888458252 0.0056099891662598 0.013322830200195
Output for 5.3.13
0.0042061805725098 0.0040459632873535 0.0047240257263184
Output for 5.3.12
0.0044519901275635 0.0040450096130371 0.0046799182891846
Output for 5.3.11
0.011413097381592 0.0041091442108154 0.011723041534424
Output for 5.3.10
0.01288890838623 0.0051279067993164 0.0048160552978516
Output for 5.3.9
0.011799097061157 0.0043098926544189 0.018571138381958
Output for 5.3.8
0.013980865478516 0.005810022354126 0.0085408687591553
Output for 5.3.7
0.013473033905029 0.0042788982391357 0.0049240589141846
Output for 5.3.6
0.0085928440093994 0.0059559345245361 0.015682935714722
Output for 5.3.5
0.015701055526733 0.0068290233612061 0.013386964797974
Output for 5.3.4
0.0069649219512939 0.0050818920135498 0.0046679973602295
Output for 5.3.3
0.0046060085296631 0.0043048858642578 0.0047290325164795
Output for 5.3.2
0.0045239925384521 0.0043120384216309 0.0049958229064941
Output for 5.3.1
0.0060741901397705 0.0056660175323486 0.0066139698028564
Output for 5.3.0
0.0060470104217529 0.0043430328369141 0.0047371387481689
Output for 5.2.17
0.0059480667114258 0.0055990219116211 0.0075631141662598
Output for 5.2.16
0.0058128833770752 0.0063209533691406 0.0073950290679932
Output for 5.2.15
0.0060088634490967 0.0053470134735107 0.0070850849151611
Output for 5.2.14
0.013983964920044 0.0056891441345215 0.014114141464233
Output for 5.2.13
0.015507936477661 0.0055930614471436 0.018063068389893
Output for 5.2.12
0.023553133010864 0.0082688331604004 0.016058921813965
Output for 5.2.11
0.013880968093872 0.011566877365112 0.014167070388794
Output for 5.2.10
0.0056538581848145 0.0052039623260498 0.015643119812012
Output for 5.2.9
0.0075819492340088 0.011362075805664 0.0068371295928955
Output for 5.2.8
0.018573045730591 0.005734920501709 0.01417088508606
Output for 5.2.7
0.012879133224487 0.0056231021881104 0.0068838596343994
Output for 5.2.6
0.0083770751953125 0.0053560733795166 0.0069279670715332
Output for 5.2.5
0.013264894485474 0.0056569576263428 0.011305809020996
Output for 5.2.4
0.0084021091461182 0.0096499919891357 0.015719890594482
Output for 5.2.3
0.014807939529419 0.0055148601531982 0.013061046600342
Output for 5.2.2
0.015979051589966 0.0055761337280273 0.014055967330933
Output for 5.2.1
0.0073268413543701 0.005051851272583 0.0067751407623291
Output for 5.2.0
0.012866973876953 0.013149976730347 0.020398139953613
Output for 5.1.6
0.0060300827026367 0.010895967483521 0.012491941452026
Output for 5.1.5
0.0060200691223145 0.0056900978088379 0.014364957809448
Output for 5.1.4
0.01381516456604 0.0057880878448486 0.01432991027832
Output for 5.1.3
0.01288890838623 0.0054810047149658 0.017051935195923
Output for 5.1.2
0.008249044418335 0.013351917266846 0.0091149806976318
Output for 5.1.1
0.012899875640869 0.018336057662964 0.0071728229522705
Output for 5.1.0
0.0068411827087402 0.012492895126343 0.0076701641082764
Output for 5.0.5
0.022660970687866 0.032485008239746 0.015013933181763
Output for 5.0.4
0.018941879272461 0.026802062988281 0.014213085174561
Output for 5.0.3
0.029811143875122 0.045051097869873 0.021533966064453
Output for 5.0.2
0.032799959182739 0.050518035888672 0.026915073394775
Output for 5.0.1
0.031991004943848 0.054640054702759 0.025127172470093
Output for 5.0.0
0.043029069900513 0.023995876312256 0.013974905014038
Output for 4.4.9
0.016571 0.021501 0.016517
Output for 4.4.8
0.01716 0.022696 0.016858
Output for 4.4.7
0.016778 0.042405 0.037039
Output for 4.4.6
0.045465 0.070967 0.037103
Output for 4.4.5
0.048805 -0.933576 0.041971
Output for 4.4.4
0.038693 0.037564 0.028299
Output for 4.4.3
0.024133 0.040257 0.032416
Output for 4.4.2
0.037294 0.0494 0.02995
Output for 4.4.1
0.037762 0.030141 0.016531
Output for 4.4.0
0.048862 0.043215 0.030465
Output for 4.3.11
0.040576 -0.954949 0.028471
Output for 4.3.10
0.02783 0.044087 0.032891
Output for 4.3.9
0.031428 0.03978 0.030591
Output for 4.3.8
0.036672 0.041086 0.032746
Output for 4.3.7
0.033232 0.048826 0.029603
Output for 4.3.6
0.032857 0.048092 0.031958
Output for 4.3.5
0.017549 0.020657 0.015176
Output for 4.3.4
0.017089 0.022237 0.013922
Output for 4.3.3
0.018481 0.02108 0.013802
Output for 4.3.2
0.015779 0.019898 0.027932
Output for 4.3.1
0.017204 0.020601 0.020623
Output for 4.3.0
0.026607 0.056444 0.04875