3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = ['test' => 'test']; $ake_start = microtime(true); for ($i = 0; $i < 1000000; $i++) { array_key_exists('test', $t).PHP_EOL; } echo (microtime(true) - $ake_start); $iss_start = microtime(true); for ($i = 0; $i < 1000000; $i++) { isset($t['test']); } echo (microtime(true) - $iss_start);
based on UNUiD
Output for 7.2.6
0.0549731254577640.019526958465576
Output for 7.2.0
0.0896151065826420.021285057067871
Output for 7.1.10
0.0680789947509770.020190954208374
Output for 7.1.7
0.230340003967290.04773998260498
Output for 7.1.6
0.212753057479860.047757863998413
Output for 7.1.5
0.187093973159790.05995512008667
Output for 7.1.4
0.229443788528440.049392938613892
Output for 7.1.3
0.172809839248660.037286043167114
Output for 7.1.2
0.158617019653320.047991991043091
Output for 7.1.1
0.184797048568730.074198007583618
Output for 7.1.0
0.15658998489380.035938024520874
Output for 7.0.20
0.304144144058230.078865051269531
Output for 7.0.19
0.199051856994630.047636032104492
Output for 7.0.18
0.232895851135250.050977945327759
Output for 7.0.17
0.158475875854490.041693925857544
Output for 7.0.16
0.175312042236330.088927030563354
Output for 7.0.15
0.28665304183960.061813831329346
Output for 7.0.14
0.105311870574950.032790184020996
Output for 7.0.13
0.244280815124510.050451040267944
Output for 7.0.12
0.217123031616210.067883014678955
Output for 7.0.11
0.167222976684570.041752099990845
Output for 7.0.10
0.144157886505130.043246984481812
Output for 7.0.9
0.126869916915890.038167953491211
Output for 7.0.8
0.134619951248170.034404993057251
Output for 7.0.7
0.134008884429930.03554105758667
Output for 7.0.6
0.184104919433590.04771089553833
Output for 7.0.5
0.259047031402590.036762952804565
Output for 7.0.4
0.19727706909180.045773029327393
Output for 7.0.3
0.114003896713260.042938947677612
Output for 7.0.2
0.2197310924530.070817947387695
Output for 7.0.1
0.18116712570190.048570871353149
Output for 7.0.0
0.272450923919680.041656970977783
Output for hhvm-3.15.4
0.340111970901490.13942289352417
Output for 5.6.30
0.434152126312260.12701988220215
Output for 5.6.29
0.435604810714720.12819194793701
Output for 5.6.28
0.378331899642940.11104702949524
Output for 5.6.27
0.314514875411990.082057952880859
Output for 5.6.26
0.327982187271120.11982011795044
Output for 5.6.25
0.365185976028440.085240840911865
Output for 5.6.24
0.328871965408330.084749937057495
Output for 5.6.23
0.291183948516850.074770927429199
Output for 5.6.22
0.404911994934080.094897985458374
Output for 5.6.21
0.510281085968020.12566900253296
Output for 5.6.20
0.33926081657410.10119104385376
Output for 5.6.19
0.362083911895750.075773000717163
Output for 5.6.18
0.315054893493650.080206871032715
Output for 5.6.17
0.29016685485840.091303110122681
Output for 5.6.16
0.3336648941040.10759401321411
Output for 5.6.15
0.330336093902590.092566013336182
Output for 5.6.14
0.315132856369020.075202941894531
Output for 5.6.13
0.397343873977660.091976881027222
Output for 5.6.12
0.451281070709230.11552906036377
Output for 5.6.11
0.444618940353390.13547778129578
Output for 5.6.10
0.406677961349490.089886903762817
Output for 5.6.9
0.389436006546020.078383922576904
Output for 5.6.8
0.445737123489380.097058057785034
Output for 5.6.7
0.481256961822510.15986680984497
Output for 5.6.6
0.633347988128660.1861629486084
Output for 5.6.5
0.659349918365480.1115550994873
Output for 5.6.4
0.428811073303220.1143319606781
Output for 5.6.3
0.789214134216310.25084614753723
Output for 5.6.2
0.526975870132450.12101912498474
Output for 5.6.1
0.707444906234740.13393211364746
Output for 5.6.0
0.656385898590090.095899105072021