3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = 'bar'; $t = microtime(true); for ($i=0; $i<10000000; $i++) { is_null($foo); } var_dump(microtime(true) - $t); $t = microtime(true); for ($i=0; $i<10000000; $i++) { $foo === null; } var_dump(microtime(true) - $t);
Output for 7.1.0
float(0.1916389465332) float(0.055516004562378)
Output for 7.0.14
float(0.19542002677917) float(0.067795991897583)
Output for 7.0.8
float(0.13703799247742) float(0.12474179267883)
Output for 7.0.7
float(0.13143515586853) float(0.12228393554688)
Output for 7.0.6
float(0.12152910232544) float(0.11050796508789)
Output for 7.0.5
float(0.15199899673462) float(0.13133311271667)
Output for 7.0.4
float(0.1185450553894) float(0.10538697242737)
Output for 7.0.3
float(0.14638090133667) float(0.10846495628357)
Output for 7.0.2
float(0.18446397781372) float(0.13728404045105)
Output for 7.0.1
float(0.15619492530823) float(0.12776184082031)
Output for 7.0.0
float(0.17027497291565) float(0.12764692306519)
Output for hhvm-3.12.0
float(0.39648795127869) float(0.40443992614746)
Output for hhvm-3.10.0
float(0.37866711616516) float(0.38783097267151)
Output for 5.6.28
float(0.74948191642761) float(0.64012980461121)
Output for 5.6.23
float(0.68731498718262) float(0.24712491035461)
Output for 5.6.22
float(0.66073799133301) float(0.22115802764893)
Output for 5.6.21
float(0.69480013847351) float(0.23084020614624)
Output for 5.6.20
float(0.71651887893677) float(0.24511504173279)
Output for 5.6.19
float(0.73601198196411) float(0.26477909088135)
Output for 5.6.18
float(0.71629905700684) float(0.23470711708069)
Output for 5.6.17
float(0.69994592666626) float(0.2312319278717)
Output for 5.6.16
float(0.689866065979) float(0.22777485847473)
Output for 5.6.15
float(0.60795092582703) float(0.22255516052246)
Output for 5.6.14
float(0.72474503517151) float(0.2650032043457)
Output for 5.6.13
float(0.72703289985657) float(0.26450705528259)
Output for 5.6.12
float(0.59728693962097) float(0.22197413444519)
Output for 5.6.11
float(0.57073903083801) float(0.22248291969299)
Output for 5.6.10
float(0.58877801895142) float(0.22292590141296)
Output for 5.6.9
float(0.68924593925476) float(0.23681306838989)
Output for 5.6.8
float(0.71387195587158) float(0.27759003639221)
Output for 5.6.7
float(0.61166381835938) float(0.22171211242676)
Output for 5.6.6
float(0.57708311080933) float(0.22325086593628)
Output for 5.6.5
float(0.71711683273315) float(0.26306986808777)
Output for 5.6.4
float(0.70842003822327) float(0.2681360244751)
Output for 5.6.3
float(0.6851909160614) float(0.23347496986389)
Output for 5.6.2
float(0.61150288581848) float(0.22202706336975)
Output for 5.6.1
float(0.70815801620483) float(0.26841497421265)
Output for 5.6.0
float(0.7121901512146) float(0.26503586769104)
Output for 5.5.37
float(0.68347907066345) float(0.22062706947327)
Output for 5.5.36
float(0.69635200500488) float(0.23128795623779)
Output for 5.5.35
float(0.60382103919983) float(0.22335505485535)
Output for 5.5.34
float(0.66199493408203) float(0.22155213356018)
Output for 5.5.33
float(0.73030400276184) float(0.2354941368103)
Output for 5.5.32
float(0.68263220787048) float(0.22185087203979)
Output for 5.5.31
float(0.76219701766968) float(0.26864886283875)
Output for 5.5.30
float(0.7533757686615) float(0.25770807266235)
Output for 5.5.29
float(0.73110795021057) float(0.23989510536194)
Output for 5.5.28
float(0.70678997039795) float(0.23541879653931)
Output for 5.5.27
float(0.72980785369873) float(0.25855803489685)
Output for 5.5.26
float(0.58504199981689) float(0.22368502616882)
Output for 5.5.25
float(0.72102212905884) float(0.27044916152954)
Output for 5.5.24
float(0.73702716827393) float(0.241868019104)
Output for 5.5.23
float(0.58277201652527) float(0.22251796722412)
Output for 5.5.22
float(0.61042785644531) float(0.23447895050049)
Output for 5.5.21
float(0.73479509353638) float(0.23871898651123)
Output for 5.5.20
float(0.73798799514771) float(0.23347902297974)
Output for 5.5.19
float(0.74746298789978) float(0.26346802711487)
Output for 5.5.18
float(0.70566010475159) float(0.22738099098206)
Output for 5.5.16
float(0.73719096183777) float(0.26855182647705)
Output for 5.5.15
float(0.67183208465576) float(0.23553013801575)
Output for 5.5.14
float(0.77038812637329) float(0.26504492759705)
Output for 5.5.13
float(0.61423802375793) float(0.22347521781921)
Output for 5.5.12
float(0.58966898918152) float(0.22388291358948)
Output for 5.5.11
float(0.74580001831055) float(0.268394947052)
Output for 5.5.10
float(0.72872090339661) float(0.23109006881714)
Output for 5.5.9
float(0.65370607376099) float(0.30043697357178)
Output for 5.5.8
float(0.75314402580261) float(0.2284619808197)
Output for 5.5.7
float(0.73196911811829) float(0.26832103729248)
Output for 5.5.6
float(0.73335886001587) float(0.26749801635742)
Output for 5.5.5
float(0.71940398216248) float(0.23602104187012)
Output for 5.5.4
float(0.66244101524353) float(0.22212195396423)
Output for 5.5.3
float(0.80700993537903) float(0.25729489326477)
Output for 5.5.2
float(0.66957116127014) float(0.23099112510681)
Output for 5.5.1
float(0.77200508117676) float(0.2533130645752)
Output for 5.5.0
float(0.65419220924377) float(0.2260890007019)
Output for 5.4.45
float(0.652428150177) float(0.2204852104187)
Output for 5.4.44
float(0.6248939037323) float(0.22074604034424)
Output for 5.4.43
float(0.74591708183289) float(0.23569083213806)
Output for 5.4.42
float(0.58596920967102) float(0.22073101997375)
Output for 5.4.41
float(0.72847604751587) float(0.2233579158783)
Output for 5.4.40
float(0.6639039516449) float(0.2206768989563)
Output for 5.4.39
float(0.70487403869629) float(0.22049593925476)
Output for 5.4.38
float(0.66330289840698) float(0.23547792434692)
Output for 5.4.37
float(0.65262603759766) float(0.2302770614624)
Output for 5.4.36
float(0.71812701225281) float(0.2265510559082)
Output for 5.4.35
float(0.79521203041077) float(0.26597619056702)
Output for 5.4.34
float(0.73592400550842) float(0.24032783508301)
Output for 5.4.32
float(0.74743604660034) float(0.2912929058075)
Output for 5.4.31
float(0.81783986091614) float(0.24343585968018)
Output for 5.4.30
float(0.58873414993286) float(0.22194409370422)
Output for 5.4.29
float(0.76097893714905) float(0.26013207435608)
Output for 5.4.28
float(0.62015604972839) float(0.21949601173401)
Output for 5.4.27
float(0.60881900787354) float(0.22201085090637)
Output for 5.4.26
float(0.62606501579285) float(0.22810697555542)
Output for 5.4.25
float(0.79485106468201) float(0.2488329410553)
Output for 5.4.24
float(0.6277711391449) float(0.2197368144989)
Output for 5.4.23
float(0.72599196434021) float(0.25290608406067)
Output for 5.4.22
float(0.7421760559082) float(0.24379205703735)
Output for 5.4.21
float(0.61397480964661) float(0.22037887573242)
Output for 5.4.20
float(0.76778697967529) float(0.23920106887817)
Output for 5.4.19
float(0.74788999557495) float(0.26517486572266)
Output for 5.4.18
float(0.74439311027527) float(0.22936391830444)
Output for 5.4.17
float(0.66736507415771) float(0.27836108207703)
Output for 5.4.16
float(0.59991717338562) float(0.22169494628906)
Output for 5.4.15
float(0.63023400306702) float(0.22257685661316)
Output for 5.4.14
float(0.72138094902039) float(0.21991491317749)
Output for 5.4.13
float(0.75108480453491) float(0.22590208053589)
Output for 5.4.12
float(0.59574604034424) float(0.22439193725586)
Output for 5.4.11
float(0.79351997375488) float(0.25273704528809)
Output for 5.4.10
float(0.80682492256165) float(0.24676084518433)
Output for 5.4.9
float(0.76591801643372) float(0.25442385673523)
Output for 5.4.8
float(0.64362096786499) float(0.23269605636597)
Output for 5.4.7
float(0.74738192558289) float(0.23466396331787)
Output for 5.4.6
float(0.64940905570984) float(0.23092293739319)
Output for 5.4.5
float(0.66751503944397) float(0.22794508934021)
Output for 5.4.4
float(0.64774012565613) float(0.24547410011292)
Output for 5.4.3
float(0.70228409767151) float(0.21996402740479)
Output for 5.4.2
float(0.73130011558533) float(0.25504302978516)
Output for 5.4.1
float(0.72651386260986) float(0.25129103660583)
Output for 5.4.0
float(0.6425199508667) float(0.21932911872864)
Output for 5.3.29
float(0.81346893310547) float(0.27706813812256)
Output for 5.3.28
float(0.74764084815979) float(0.29242706298828)
Output for 5.3.27
float(0.74756693840027) float(0.28886294364929)
Output for 5.3.26
float(0.80219912528992) float(0.2792980670929)
Output for 5.3.25
float(0.74599099159241) float(0.28014302253723)
Output for 5.3.24
float(0.89327096939087) float(0.2802951335907)
Output for 5.3.23
float(0.88649702072144) float(0.28978991508484)
Output for 5.3.22
float(0.7430591583252) float(0.28205299377441)
Output for 5.3.21
float(0.74793291091919) float(0.28465700149536)
Output for 5.3.20
float(0.75424289703369) float(0.28240299224854)
Output for 5.3.19
float(0.77532482147217) float(0.28081679344177)
Output for 5.3.18
float(0.81417679786682) float(0.30133891105652)
Output for 5.3.17
float(0.78587889671326) float(0.3091299533844)
Output for 5.3.16
float(0.93462610244751) float(0.28480100631714)
Output for 5.3.15
float(0.95343995094299) float(0.28653383255005)
Output for 5.3.14
float(0.80559086799622) float(0.29789805412292)
Output for 5.3.13
float(0.86385107040405) float(0.28983306884766)
Output for 5.3.12
float(0.77014088630676) float(0.2891001701355)
Output for 5.3.11
float(0.88320589065552) float(0.29195404052734)
Output for 5.3.10
float(0.90329504013062) float(0.30139398574829)
Output for 5.3.9
float(0.76422691345215) float(0.28654098510742)
Output for 5.3.8
float(0.81724405288696) float(0.29349303245544)
Output for 5.3.7
float(0.89082098007202) float(0.29557991027832)
Output for 5.3.6
float(0.90744805335999) float(0.28867197036743)
Output for 5.3.5
float(0.77059197425842) float(0.29020094871521)
Output for 5.3.4
float(0.8963451385498) float(0.29118609428406)
Output for 5.3.3
float(0.80357599258423) float(0.28839993476868)
Output for 5.3.2
float(1.0381860733032) float(0.29404401779175)
Output for 5.3.1
float(0.85086917877197) float(0.29528498649597)
Output for 5.3.0
float(0.85717010498047) float(0.3381462097168)
Output for 5.2.17
float(0.83005213737488) float(0.36083292961121)
Output for 5.2.16
float(0.7989501953125) float(0.35987877845764)
Output for 5.2.15
float(0.91962909698486) float(0.36025309562683)
Output for 5.2.14
float(0.85764002799988) float(0.37035894393921)
Output for 5.2.13
float(0.94429898262024) float(0.36053586006165)
Output for 5.2.12
float(0.95078492164612) float(0.36302781105042)
Output for 5.2.11
float(0.81000113487244) float(0.36379384994507)
Output for 5.2.10
float(0.86362886428833) float(0.37292194366455)
Output for 5.2.9
float(0.81101012229919) float(0.38947916030884)
Output for 5.2.8
float(0.83751797676086) float(0.37022805213928)
Output for 5.2.7
float(0.99565887451172) float(0.36255884170532)
Output for 5.2.6
float(1.0128698348999) float(0.36246609687805)
Output for 5.2.5
float(0.87245893478394) float(0.36049199104309)
Output for 5.2.4
float(0.83062887191772) float(0.39551115036011)
Output for 5.2.3
float(0.92082500457764) float(0.36623907089233)
Output for 5.2.2
float(0.82049202919006) float(0.3861768245697)
Output for 5.2.1
float(0.89733099937439) float(0.33480405807495)
Output for 5.2.0
float(0.96682405471802) float(0.36767506599426)
Output for 5.1.6
float(0.94944095611572) float(0.38974499702454)
Output for 5.1.5
float(0.99288201332092) float(0.39440679550171)
Output for 5.1.4
float(0.86726498603821) float(0.38678097724915)
Output for 5.1.3
float(0.87930798530579) float(0.38245701789856)
Output for 5.1.2
float(0.87229084968567) float(0.52062296867371)
Output for 5.1.1
float(0.7465660572052) float(0.5186779499054)
Output for 5.1.0
float(0.75244283676147) float(0.50911998748779)
Output for 5.0.5
float(1.7532889842987)
Process exited with code 137.
Output for 5.0.4
float(1.7571630477905)
Process exited with code 137.
Output for 4.3.8, 4.3.11 - 4.4.1, 4.4.3 - 4.4.5, 5.0.0, 5.0.2 - 5.0.3

Process exited with code 137.
Output for 5.0.1
float(1.6710090637207)
Process exited with code 137.
Output for 4.4.9
float(0.396217) float(0.026306)
Output for 4.4.8
float(0.428499) float(0.019393)
Output for 4.4.7
float(0.595798)
Process exited with code 137.
Output for 4.4.6
float(0.612096)
Process exited with code 137.
Output for 4.4.2
float(0.621017)
Process exited with code 137.
Output for 4.3.10
float(0.636776)
Process exited with code 137.
Output for 4.3.9
float(0.566342)
Process exited with code 137.
Output for 4.3.7
float(0.733964)
Process exited with code 137.
Output for 4.3.6
float(0.616843)
Process exited with code 137.
Output for 4.3.5
float(0.604587)
Process exited with code 137.
Output for 4.3.4
float(0.587327)
Process exited with code 137.
Output for 4.3.3
float(0.656398)
Process exited with code 137.
Output for 4.3.2
float(0.415067) float(0.006247)
Output for 4.3.1
float(0.673089)
Process exited with code 137.
Output for 4.3.0
float(0.58598)
Process exited with code 137.