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); } echo (microtime(true) - $ake_start); $iss_start = microtime(true); for ($i = 0; $i < 1000000; $i++) { isset($t['test']); } echo (microtime(true) - $iss_start);
Output for 7.2.6
0.0278210639953610.031809091567993
Output for 7.2.0
0.0299508571624760.021521091461182
Output for 7.1.10
0.0310850143432620.024656057357788
Output for 7.1.7
0.0947339534759520.056378126144409
Output for 7.1.6
0.0789861679077150.056334018707275
Output for 7.1.5
0.089442968368530.034870147705078
Output for 7.1.4
0.047533035278320.032124996185303
Output for 7.1.3
0.0610051155090330.035631895065308
Output for 7.1.2
0.048990011215210.033471822738647
Output for 7.1.1
0.0685679912567140.054831981658936
Output for 7.1.0
0.107403993606570.097978115081787
Output for 7.0.20
0.103746891021730.049195051193237
Output for 7.0.19
0.050093889236450.063724040985107
Output for 7.0.18
0.0859289169311520.047654867172241
Output for 7.0.17
0.0485799312591550.03394079208374
Output for 7.0.16
0.0770490169525150.067896842956543
Output for 7.0.15
0.0508689880371090.035178899765015
Output for 7.0.14
0.0811800956726070.04964804649353
Output for 7.0.13
0.0964529514312740.10757803916931
Output for 7.0.12
0.096294879913330.065927982330322
Output for 7.0.11
0.188309192657470.086081981658936
Output for 7.0.10
0.106788158416750.062117099761963
Output for 7.0.9
0.12696909904480.051973819732666
Output for 7.0.8
0.160164833068850.05070686340332
Output for 7.0.7
0.145694017410280.082026958465576
Output for 7.0.6
0.0678980350494380.036086082458496
Output for 7.0.5
0.0720040798187260.043658971786499
Output for 7.0.4
0.05711293220520.048362970352173
Output for 7.0.3
0.0832979679107670.034720897674561
Output for 7.0.2
0.0768218040466310.045692205429077
Output for 7.0.1
0.0884301662445070.045052051544189
Output for 7.0.0
0.125548124313350.085333108901978
Output for hhvm-3.15.4
0.090170145034790.097862958908081
Output for 5.6.30
0.18532896041870.085216999053955
Output for 5.6.29
0.39157986640930.18223905563354
Output for 5.6.28
0.374938964843750.12809014320374
Output for 5.6.27
0.378760814666750.18162894248962
Output for 5.6.26
0.339257001876830.094002962112427
Output for 5.6.25
0.475939035415650.099995136260986
Output for 5.6.24
0.390390157699580.10241794586182
Output for 5.6.23
0.430325984954830.1349048614502
Output for 5.6.22
0.466098070144650.09890079498291
Output for 5.6.21
0.298861026763920.12810611724854
Output for 5.6.20
0.325007915496830.094620943069458
Output for 5.6.19
0.283509016036990.10214805603027
Output for 5.6.18
0.250390052795410.10778903961182
Output for 5.6.17
0.332711935043330.11822986602783
Output for 5.6.16
0.317635059356690.090940952301025
Output for 5.6.15
0.350065946578980.094356060028076
Output for 5.6.14
0.180668115615840.087893009185791
Output for 5.6.13
0.332956075668330.09587287902832
Output for 5.6.12
0.241288900375370.09185004234314
Output for 5.6.11
0.322527885437010.097506046295166
Output for 5.6.10
0.208746194839480.094449996948242
Output for 5.6.9
0.204587221145630.091953039169312
Output for 5.6.8
0.184561967849730.076491117477417
Output for 5.6.7
0.307264089584350.10478115081787
Output for 5.6.6
0.252591133117680.09477710723877
Output for 5.6.5
0.354532957077030.096804141998291
Output for 5.6.4
0.394369125366210.089020967483521
Output for 5.6.3
0.327320098876950.083842992782593
Output for 5.6.2
0.379248857498170.13695597648621
Output for 5.6.1
0.324404001235960.16360116004944
Output for 5.6.0
0.412831068038940.076336860656738