3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time = microtime(); $a = range(1,100000); foreach ($a as $i) { isset($a['asd']); } echo microtime() - $time, "\n"; $time = microtime(); $a = range(1,100000); foreach ($a as $i) { array_key_exists('asd', $a); } echo microtime() - $time, "\n";
Output for 7.2.9
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.057463 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.050752
Output for 7.2.8
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.044768 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.053148
Output for 7.2.7
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.077067 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.080934
Output for 7.2.6
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.043652 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.070806
Output for 7.2.5
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.043282 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.139143
Output for 7.2.4
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.164894 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.2082
Output for 7.2.3
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.13906 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.147538
Output for 7.2.2
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.081383 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.059813
Output for 7.2.1
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.171663 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.051163
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.080899 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.061641
Output for 7.1.21
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.078736 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.059585
Output for 7.1.20
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.081215 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.081692
Output for 7.1.19
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.063753 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.074179
Output for 7.1.18
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.173103 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.166095
Output for 7.1.17
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.116982 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.090778
Output for 7.1.16
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.100115 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.131133
Output for 7.1.15
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.161907 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.089732
Output for 7.1.14
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.127312 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.091805
Output for 7.1.13
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.07322 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.018361
Output for 7.1.12
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.108039 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.045158
Output for 7.1.11
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.120453 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.070757
Output for 7.1.10
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.045771 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.021828
Output for 7.1.9
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.105438 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.108638
Output for 7.1.8
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.082478 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.064391
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.081979 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.049483
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.052259 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.133334
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.089786 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.0778
Output for 7.1.4
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.130986 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.085795
Output for 7.1.3
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.149051 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.144612
Output for 7.1.2
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.04135 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.055531
Output for 7.1.1
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.011705 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.025674
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 Notice: A non well formed numeric value encountered in /in/aqbMI on line 8 0.010519 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 Notice: A non well formed numeric value encountered in /in/aqbMI on line 15 0.066669
Output for 7.0.31
0.039461 0.032853
Output for 7.0.30
0.036189 0.149072
Output for 7.0.29
0.108609 0.119204
Output for 7.0.28
0.117075 0.221462
Output for 7.0.27
0.125099 0.132213
Output for 7.0.26
0.012565 0.054086
Output for 7.0.25
0.043115 0.096286
Output for 7.0.24
0.050982 0.063492
Output for 7.0.23
0.120774 0.07658
Output for 7.0.22
0.082661 0.092422
Output for 7.0.21
0.10024 0.145182
Output for 7.0.20
0.008433 0.074394
Output for 7.0.19
0.126213 0.09385
Output for 7.0.18
0.098641 0.129064
Output for 7.0.17
0.107771 0.128046
Output for 7.0.16
0.1115 0.127171
Output for 7.0.15
0.029877 0.089383
Output for 7.0.14
0.09241 0.022157
Output for 7.0.13
0.111866 0.111367
Output for 7.0.12
0.163738 0.130845
Output for 7.0.11
0.12685 0.150152
Output for 7.0.10
0.153465 0.186246
Output for 7.0.9
0.154388 0.14422
Output for 7.0.8
0.129446 0.158957
Output for 7.0.7
0.176984 0.214567
Output for 7.0.6
0.246332 0.231005
Output for 7.0.5
0.216026 0.200756
Output for 7.0.4
0.169136 0.174418
Output for 7.0.3
0.261691 0.195911
Output for 7.0.2
0.222446 0.236575
Output for 7.0.1
0.228926 0.193794
Output for 7.0.0
0.177424 0.187739
Output for hhvm-3.22.0
0.009989 0.008876
Output for hhvm-3.21.3
0.015332 0.01498
Output for hhvm-3.21.0
0.009764 0.008273
Output for hhvm-3.20.2
0.008685 0.007993
Output for hhvm-3.19.2
0.009562 0.009674
Output for hhvm-3.18.5
0.008923 0.008262
Output for hhvm-3.18.4
0.009304 0.008729
Output for hhvm-3.15.4
0.009748 0.009221
Output for 5.6.30
0.024853 0.041761