3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = 'bar'; $t = microtime(true); for ($i=0; $i<1000000; $i++) { is_null($foo); } var_dump(microtime(true) - $t); $t = microtime(true); for ($i=0; $i<1000000; $i++) { $foo === null; } var_dump(microtime(true) - $t);
Output for 7.1.0
float(0.023518085479736) float(0.035721063613892)
Output for 7.0.14
float(0.024123907089233) float(0.020333051681519)
Output for 7.0.7
float(0.016468048095703) float(0.014998912811279)
Output for 7.0.6
float(0.019675016403198) float(0.017157077789307)
Output for 7.0.5
float(0.022826910018921) float(0.020351886749268)
Output for 7.0.4
float(0.013643026351929) float(0.013437032699585)
Output for 7.0.3
float(0.013730049133301) float(0.013048887252808)
Output for 7.0.2
float(0.014436006546021) float(0.012709856033325)
Output for 7.0.1
float(0.013731002807617) float(0.012768030166626)
Output for 7.0.0
float(0.021046161651611) float(0.018203973770142)
Output for hhvm-3.12.0
float(0.040054082870483) float(0.04123592376709)
Output for hhvm-3.10.0
float(0.045730113983154) float(0.041723966598511)
Output for 5.6.28
float(0.12022590637207) float(0.061573028564453)
Output for 5.6.22
float(0.092749834060669) float(0.030090093612671)
Output for 5.6.21
float(0.098816871643066) float(0.032335042953491)
Output for 5.6.20
float(0.087846994400024) float(0.031278848648071)
Output for 5.6.19
float(0.08049201965332) float(0.027037858963013)
Output for 5.6.18
float(0.070274114608765) float(0.030309915542603)
Output for 5.6.17
float(0.068495035171509) float(0.027095079421997)
Output for 5.6.16
float(0.071943998336792) float(0.027667045593262)
Output for 5.6.15
float(0.073482990264893) float(0.02803897857666)
Output for 5.6.14
float(0.06900691986084) float(0.026895046234131)
Output for 5.6.13
float(0.08216404914856) float(0.029867172241211)
Output for 5.6.12
float(0.072634935379028) float(0.026885032653809)
Output for 5.6.11
float(0.075935840606689) float(0.030148029327393)
Output for 5.6.10
float(0.084118843078613) float(0.028755903244019)
Output for 5.6.9
float(0.058521032333374) float(0.022697925567627)
Output for 5.6.8
float(0.069047927856445) float(0.027138948440552)
Output for 5.6.7
float(0.07706093788147) float(0.026998043060303)
Output for 5.6.6
float(0.096328973770142) float(0.032125949859619)
Output for 5.6.5
float(0.068243980407715) float(0.027097225189209)
Output for 5.6.4
float(0.091084957122803) float(0.030636787414551)
Output for 5.6.3
float(0.081553936004639) float(0.028007984161377)
Output for 5.6.2
float(0.076635837554932) float(0.028349161148071)
Output for 5.6.1
float(0.080064058303833) float(0.027728080749512)
Output for 5.6.0
float(0.087396860122681) float(0.029563903808594)
Output for 5.5.36
float(0.068969011306763) float(0.026936054229736)
Output for 5.5.35
float(0.080925941467285) float(0.027234077453613)
Output for 5.5.34
float(0.070203065872192) float(0.027565002441406)
Output for 5.5.33
float(0.080820083618164) float(0.027292966842651)
Output for 5.5.32
float(0.082560062408447) float(0.039522171020508)
Output for 5.5.31
float(0.074059009552002) float(0.027071952819824)
Output for 5.5.30
float(0.10979604721069) float(0.029918909072876)
Output for 5.5.29
float(0.058966875076294) float(0.022274971008301)
Output for 5.5.28
float(0.070542812347412) float(0.026852130889893)
Output for 5.5.27
float(0.072699069976807) float(0.026994943618774)
Output for 5.5.26
float(0.059293985366821) float(0.023294925689697)
Output for 5.5.25
float(0.072372913360596) float(0.02751898765564)
Output for 5.5.24
float(0.084001064300537) float(0.027663946151733)
Output for 5.5.23
float(0.089205980300903) float(0.02908992767334)
Output for 5.5.22
float(0.080496072769165) float(0.026937007904053)
Output for 5.5.21
float(0.1033079624176) float(0.054763078689575)
Output for 5.5.20
float(0.084813117980957) float(0.028357982635498)
Output for 5.5.19
float(0.093642950057983) float(0.028759956359863)
Output for 5.5.18
float(0.094344854354858) float(0.03049111366272)
Output for 5.5.16
float(0.10524010658264) float(0.031459093093872)
Output for 5.5.15
float(0.099839925765991) float(0.030336856842041)
Output for 5.5.14
float(0.10503387451172) float(0.031202077865601)
Output for 5.5.13
float(0.091787099838257) float(0.028965950012207)
Output for 5.5.12
float(0.10071992874146) float(0.031659126281738)
Output for 5.5.11
float(0.099673986434937) float(0.031332969665527)
Output for 5.5.10
float(0.092314958572388) float(0.027934789657593)
Output for 5.5.9
float(0.092648983001709) float(0.036857128143311)
Output for 5.5.8
float(0.086508989334106) float(0.028251171112061)
Output for 5.5.7
float(0.10264492034912) float(0.030177116394043)
Output for 5.5.6
float(0.079156875610352) float(0.027172803878784)
Output for 5.5.5
float(0.084245920181274) float(0.027565956115723)
Output for 5.5.4
float(0.094305038452148) float(0.029937982559204)
Output for 5.5.3
float(0.089808940887451) float(0.026986122131348)
Output for 5.5.2
float(0.10620093345642) float(0.031965017318726)
Output for 5.5.1
float(0.10048794746399) float(0.030355930328369)
Output for 5.5.0
float(0.087200880050659) float(0.028373003005981)
Output for 5.4.45
float(0.09619402885437) float(0.030565023422241)
Output for 5.4.44
float(0.070698022842407) float(0.026755094528198)
Output for 5.4.43
float(0.074309825897217) float(0.025935888290405)
Output for 5.4.42
float(0.079829931259155) float(0.026818990707397)
Output for 5.4.41
float(0.07497501373291) float(0.026816844940186)
Output for 5.4.40
float(0.075524091720581) float(0.027143955230713)
Output for 5.4.39
float(0.078715085983276) float(0.026821136474609)
Output for 5.4.38
float(0.10219097137451) float(0.03045916557312)
Output for 5.4.37
float(0.085269927978516) float(0.031682968139648)
Output for 5.4.36
float(0.11186599731445) float(0.030020952224731)
Output for 5.4.35
float(0.10031700134277) float(0.030620098114014)
Output for 5.4.34
float(0.096867084503174) float(0.030143976211548)
Output for 5.4.32
float(0.095401048660278) float(0.029923915863037)
Output for 5.4.31
float(0.099924087524414) float(0.031191825866699)
Output for 5.4.30
float(0.10082793235779) float(0.029356002807617)
Output for 5.4.29
float(0.073750972747803) float(0.027055978775024)
Output for 5.4.28
float(0.098597049713135) float(0.029300928115845)
Output for 5.4.27
float(0.1016800403595) float(0.029682159423828)
Output for 5.4.26
float(0.088994026184082) float(0.027956962585449)
Output for 5.4.25
float(0.097074031829834) float(0.031025171279907)
Output for 5.4.24
float(0.078233957290649) float(0.026723146438599)
Output for 5.4.23
float(0.092737913131714) float(0.028109073638916)
Output for 5.4.22
float(0.10627698898315) float(0.031023025512695)
Output for 5.4.21
float(0.075176000595093) float(0.027332782745361)
Output for 5.4.20
float(0.073580026626587) float(0.026700019836426)
Output for 5.4.19
float(0.099910974502563) float(0.031691074371338)
Output for 5.4.18
float(0.076520204544067) float(0.027361869812012)
Output for 5.4.17
float(0.075599908828735) float(0.027102947235107)
Output for 5.4.16
float(0.104740858078) float(0.032500028610229)
Output for 5.4.15
float(0.083580017089844) float(0.027024984359741)
Output for 5.4.14
float(0.10042500495911) float(0.02837085723877)
Output for 5.4.13
float(0.072346925735474) float(0.026999950408936)
Output for 5.4.12
float(0.091033935546875) float(0.028877973556519)
Output for 5.4.11
float(0.08587908744812) float(0.026777982711792)
Output for 5.4.10
float(0.1034471988678) float(0.029282093048096)
Output for 5.4.9
float(0.1007969379425) float(0.028892040252686)
Output for 5.4.8
float(0.10816216468811) float(0.037081003189087)
Output for 5.4.7
float(0.099795818328857) float(0.029788017272949)
Output for 5.4.6
float(0.095813035964966) float(0.028255939483643)
Output for 5.4.5
float(0.072467088699341) float(0.027186870574951)
Output for 5.4.4
float(0.084543943405151) float(0.026659965515137)
Output for 5.4.3
float(0.076956033706665) float(0.029664993286133)
Output for 5.4.2
float(0.084373950958252) float(0.027831792831421)
Output for 5.4.1
float(0.096405029296875) float(0.03363299369812)
Output for 5.4.0
float(0.095866918563843) float(0.027324914932251)
Output for 5.3.29
float(0.092051982879639) float(0.03392505645752)
Output for 5.3.28
float(0.10714888572693) float(0.035588979721069)
Output for 5.3.27
float(0.12564301490784) float(0.038499116897583)
Output for 5.3.26
float(0.10089182853699) float(0.033987045288086)
Output for 5.3.25
float(0.090763092041016) float(0.033926010131836)
Output for 5.3.24
float(0.1224639415741) float(0.036944150924683)
Output for 5.3.23
float(0.1251528263092) float(0.037316083908081)
Output for 5.3.22
float(0.10800099372864) float(0.035229921340942)
Output for 5.3.21
float(0.1242949962616) float(0.037997007369995)
Output for 5.3.20
float(0.1222779750824) float(0.035504102706909)
Output for 5.3.19
float(0.10843181610107) float(0.034978866577148)
Output for 5.3.18
float(0.12248587608337) float(0.037990093231201)
Output for 5.3.17
float(0.10386991500854) float(0.033967018127441)
Output for 5.3.16
float(0.1099328994751) float(0.034197092056274)
Output for 5.3.15
float(0.11387085914612) float(0.034956932067871)
Output for 5.3.14
float(0.11276412010193) float(0.034769058227539)
Output for 5.3.13
float(0.11291909217834) float(0.036389112472534)
Output for 5.3.12
float(0.10912084579468) float(0.035489082336426)
Output for 5.3.11
float(0.093291997909546) float(0.036014080047607)
Output for 5.3.10
float(0.1102819442749) float(0.036839962005615)
Output for 5.3.9
float(0.10181593894958) float(0.035537004470825)
Output for 5.3.8
float(0.11228585243225) float(0.036137104034424)
Output for 5.3.7
float(0.1216869354248) float(0.036415815353394)
Output for 5.3.6
float(0.11453890800476) float(0.035945177078247)
Output for 5.3.5
float(0.091192960739136) float(0.035120010375977)
Output for 5.3.4
float(0.11253690719604) float(0.035711050033569)
Output for 5.3.3
float(0.11486601829529) float(0.035124063491821)
Output for 5.3.2
float(0.10080194473267) float(0.035807132720947)
Output for 5.3.1
float(0.12357497215271) float(0.037752866744995)
Output for 5.3.0
float(0.12378787994385) float(0.037889003753662)
Output for 5.2.17
float(0.11369919776917) float(0.043807029724121)
Output for 5.2.16
float(0.13869690895081) float(0.049180030822754)
Output for 5.2.15
float(0.1315701007843) float(0.046021938323975)
Output for 5.2.14
float(0.11593103408813) float(0.044303894042969)
Output for 5.2.13
float(0.13317894935608) float(0.048506021499634)
Output for 5.2.12
float(0.094982147216797) float(0.043776035308838)
Output for 5.2.11
float(0.13723802566528) float(0.047150850296021)
Output for 5.2.10
float(0.13877296447754) float(0.046799898147583)
Output for 5.2.9
float(0.13886785507202) float(0.047843933105469)
Output for 5.2.8
float(0.11375713348389) float(0.045292139053345)
Output for 5.2.7
float(0.12873101234436) float(0.046226024627686)
Output for 5.2.6
float(0.12926006317139) float(0.044979095458984)
Output for 5.2.5
float(0.14353203773499) float(0.047323942184448)
Output for 5.2.4
float(0.14003300666809) float(0.047063827514648)
Output for 5.2.3
float(0.13521695137024) float(0.049251079559326)
Output for 5.2.2
float(0.11353802680969) float(0.046077966690063)
Output for 5.2.1
float(0.13692903518677) float(0.047881126403809)
Output for 5.2.0
float(0.11579585075378) float(0.044577121734619)
Output for 5.1.6
float(0.12113809585571) float(0.046190023422241)
Output for 5.1.5
float(0.10078978538513) float(0.044250011444092)
Output for 5.1.4
float(0.091365098953247) float(0.046855926513672)
Output for 5.1.3
float(0.10536003112793) float(0.048245906829834)
Output for 5.1.2
float(0.12626385688782) float(0.068100929260254)
Output for 5.1.1
float(0.13506603240967) float(0.069927930831909)
Output for 5.1.0
float(0.126629114151) float(0.064509868621826)
Output for 5.0.5
float(0.21373009681702) float(0.13562512397766)
Output for 5.0.4
float(0.22089910507202) float(0.13506197929382)
Output for 5.0.3
float(0.17184090614319) float(0.13332915306091)
Output for 5.0.2
float(0.24170899391174) float(0.14873719215393)
Output for 5.0.1
float(0.19754886627197) float(0.12780904769897)
Output for 5.0.0
float(0.19651818275452) float(0.12747192382813)
Output for 4.4.9
float(0.20283) float(0.129424)
Output for 4.4.8
float(0.233139) float(0.123627)
Output for 4.4.7
float(0.201433) float(0.125183)
Output for 4.4.6
float(0.230544) float(0.126136)
Output for 4.4.5
float(0.166017) float(0.119322)
Output for 4.4.4
float(0.17307) float(0.124311)
Output for 4.4.3
float(0.201373) float(0.128354)
Output for 4.4.2
float(0.179727) float(0.133435)
Output for 4.4.1
float(0.211242) float(0.128152)
Output for 4.4.0
float(0.227019) float(0.126602)
Output for 4.3.11
float(0.205953) float(0.125619)
Output for 4.3.10
float(0.22817) float(0.122612)
Output for 4.3.9
float(0.206324) float(0.12295)
Output for 4.3.8
float(0.151136) float(0.109796)
Output for 4.3.7
float(0.248846) float(0.155048)
Output for 4.3.6
float(0.24409) float(0.127356)
Output for 4.3.5
float(0.230429) float(0.127663)
Output for 4.3.4
float(0.203044) float(0.118927)
Output for 4.3.3
float(0.232231) float(0.121756)
Output for 4.3.2
float(0.171215) float(0.122294)
Output for 4.3.1
float(0.197831) float(0.11965)
Output for 4.3.0
float(0.167117) float(0.121532)