3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $null = NULL; $empty = ''; $start=microtime(TRUE); for($i=0;$i<10000000;$i++) { if($empty === '') { } } var_export(microtime(TRUE)-$start); echo "\n"; $start=microtime(TRUE); for($i=0;$i<10000000;$i++) { if(!isset($null)) { } } var_export(microtime(TRUE)-$start); echo "\n";
Output for 7.1.0
0.28258299827575684 0.17770099639892578
Output for 7.0.14
0.20237016677856445 -0.058262109756469727
Output for 7.0.6
0.1338698863983154296875 0.16044712066650390625
Output for 7.0.5
0.1368420124053955078125 0.15876293182373046875
Output for 7.0.4
0.1583058834075927734375 0.1567289829254150390625
Output for 7.0.3
0.147489070892333984375 0.15398502349853515625
Output for 7.0.2
0.1592509746551513671875 0.1585700511932373046875
Output for 7.0.1
0.1626970767974853515625 0.1638641357421875
Output for 7.0.0
0.1618688106536865234375 0.15565395355224609375
Output for 5.6.28
0.17770195007324219 -0.41496109962463379
Output for 5.6.21
0.3930261135101318359375 0.4020240306854248046875
Output for 5.6.20
0.3738880157470703125 0.3791229724884033203125
Output for 5.6.19
0.378406047821044921875 0.3614389896392822265625
Output for 5.6.18
0.3924930095672607421875 0.437776088714599609375
Output for 5.6.17
0.3605520725250244140625 0.36159992218017578125
Output for 5.6.16
0.354402065277099609375 0.34978389739990234375
Output for 5.6.15
0.3559639453887939453125 0.365682125091552734375
Output for 5.6.14
0.3622181415557861328125 0.362016201019287109375
Output for 5.6.13
0.343905925750732421875 0.3609650135040283203125
Output for 5.6.12
0.3583889007568359375 0.3622829914093017578125
Output for 5.6.11
0.3542659282684326171875 0.3617188930511474609375
Output for 5.6.10
0.3460071086883544921875 0.363626003265380859375
Output for 5.6.9
0.3402750492095947265625 0.3597228527069091796875
Output for 5.6.8
0.3597362041473388671875 0.36122798919677734375
Output for 5.6.7
0.3670361042022705078125 0.3676989078521728515625
Output for 5.5.35
0.29675006866455078125 0.3329010009765625
Output for 5.5.34
0.3297531604766845703125 0.35177707672119140625
Output for 5.5.33
0.3587188720703125 0.3641641139984130859375
Output for 5.5.32
0.3271858692169189453125 0.3494398593902587890625
Output for 5.5.31
0.3494431972503662109375 0.361999988555908203125
Output for 5.5.30
0.3369100093841552734375 0.352139949798583984375
Output for 5.5.29
0.3301990032196044921875 0.3520619869232177734375
Output for 5.5.28
0.3567950725555419921875 0.3626220226287841796875
Output for 5.5.27
0.352897167205810546875 0.3624629974365234375
Output for 5.5.26
0.3443019390106201171875 0.361792087554931640625
Output for 5.5.25
0.379354000091552734375 0.3618071079254150390625
Output for 5.5.24
0.3594188690185546875 0.362369060516357421875
Output for 5.4.45
0.361526012420654296875 0.3604810237884521484375
Output for 5.4.44
0.3307960033416748046875 0.3494780063629150390625
Output for 5.4.43
0.3487432003021240234375 0.3472449779510498046875
Output for 5.4.42
0.3573729991912841796875 0.3611309528350830078125
Output for 5.4.41
0.36384296417236328125 0.42243194580078125
Output for 5.4.40
0.3767259120941162109375 0.3870589733123779296875
Output for 5.4.39
0.339291095733642578125 0.359571933746337890625
Output for 5.4.38
0.404039859771728515625 0.3889408111572265625
Output for 5.4.37
0.35552692413330078125 0.35842800140380859375
Output for 5.4.36
0.3795359134674072265625 0.3881361484527587890625
Output for 5.4.35
0.36705303192138671875 0.3787047863006591796875
Output for 5.4.34
0.36260986328125 0.358314990997314453125
Output for 5.4.32
0.353908061981201171875 0.3582179546356201171875
Output for 5.4.31
0.40002918243408203125 0.3598029613494873046875
Output for 5.4.30
0.3794651031494140625 0.4757521152496337890625
Output for 5.4.29
0.37154293060302734375 0.3798940181732177734375
Output for 5.4.28
0.6102998256683349609375 0.6650049686431884765625
Output for 5.4.27
0.44614696502685546875 0.3961718082427978515625
Output for 5.4.26
0.573726177215576171875 0.6008319854736328125
Output for 5.4.25
0.4390470981597900390625 0.464766025543212890625
Output for 5.4.24
0.3921167850494384765625 0.423140048980712890625
Output for 5.4.23
0.401885986328125 0.596248149871826171875
Output for 5.4.22
0.732295989990234375 0.6657898426055908203125
Output for 5.4.21
0.38299989700317 0.46623802185059
Output for 5.4.20
0.41721701622009 0.47763204574585
Output for 5.4.19
0.44423389434814 0.44151306152344
Output for 5.4.18
0.43105506896973 0.57020616531372
Output for 5.4.17
0.406818151474 0.56891512870789
Output for 5.4.16
0.5366530418396 0.51235890388489
Output for 5.4.15
0.42288899421692 0.51044416427612
Output for 5.4.14
0.43682909011841 0.54876804351807
Output for 5.4.13
0.5842809677124 0.45391798019409
Output for 5.4.12
0.36227297782898 0.49692702293396
Output for 5.4.11
0.45150804519653 0.48788714408875
Output for 5.4.10
0.37793493270874 0.51003694534302
Output for 5.4.9
0.36534595489502 0.43382787704468
Output for 5.4.8
0.4239649772644 0.45326590538025
Output for 5.4.7
0.65317320823669 0.46644186973572
Output for 5.4.6
0.38519406318665 0.44611001014709
Output for 5.4.5
0.42912006378174 0.47147798538208
Output for 5.4.4
0.37816905975342 0.4056499004364
Output for 5.4.3
0.3770158290863 0.45658612251282
Output for 5.4.2
0.40208101272583 0.39828395843506
Output for 5.4.1
0.50890183448792 0.42337012290955
Output for 5.4.0
0.42259001731873 0.42886209487915
Output for 5.3.29
0.39468002319336 0.40706396102905
Output for 5.3.28
0.50591802597046 0.48790884017944
Output for 5.3.27
0.48871612548828 0.54046201705933
Output for 5.3.26
0.55950093269348 0.51937890052795
Output for 5.3.25
0.44825291633606 0.51686882972717
Output for 5.3.24
0.59917783737183 0.51379895210266
Output for 5.3.23
0.43960785865784 0.5207679271698
Output for 5.3.22
0.45953989028931 0.47737193107605
Output for 5.3.21
0.42770218849182 0.50111985206604
Output for 5.3.20
0.443598985672 0.47120594978333
Output for 5.3.19
0.46010398864746 0.47561597824097
Output for 5.3.18
0.45370984077454 0.67134714126587
Output for 5.3.17
0.49064803123474 0.6945858001709
Output for 5.3.16
0.48054695129395 0.54731106758118
Output for 5.3.15
0.43220901489258 0.65196204185486
Output for 5.3.14
0.68486499786377 0.6861400604248
Output for 5.3.13
0.59768986701965 0.63126087188721
Output for 5.3.12
0.77079105377197 0.53102493286133
Output for 5.3.11
0.59217405319214 0.82098197937012
Output for 5.3.10
0.92352199554443 0.58905911445618
Output for 5.3.9
0.54781007766724 0.93175506591797
Output for 5.3.8
1.0837240219116 0.90278911590576
Output for 5.3.7
0.92643690109253 0.64565920829773