3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time = microtime(); $a = range(1,10000); foreach ($a as $i) { isset($a['asd']); } echo microtime() - $time, "\n"; $time = microtime(); $a = range(1,10000); 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/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.00064 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000766
Output for 7.2.8
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000625 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000743
Output for 7.2.7
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000594 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.00068
Output for 7.2.6
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000651 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000813
Output for 7.2.5
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000616 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000795
Output for 7.2.4
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000503 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.00059
Output for 7.2.3
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000618 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000735
Output for 7.2.2
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000444 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000772
Output for 7.2.1
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000437 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000539
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000611 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000757
Output for 7.1.21
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000899 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.00122
Output for 7.1.20
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000604 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000955
Output for 7.1.19
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000635 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.00094
Output for 7.1.18
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000612 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.00098
Output for 7.1.17
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.00046 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000557
Output for 7.1.16
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000671 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000913
Output for 7.1.15
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.014163 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000849
Output for 7.1.14
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000461 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.00057
Output for 7.1.13
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000464 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000726
Output for 7.1.12
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000637 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000916
Output for 7.1.11
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000654 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000938
Output for 7.1.10
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000896 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.001497
Output for 7.1.9
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000438 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000553
Output for 7.1.8
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.00043 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000596
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000638 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.0009
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.00047 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000623
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000729 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000828
Output for 7.1.4
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.00401 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.001448
Output for 7.1.3
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000631 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000969
Output for 7.1.2
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000453 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000618
Output for 7.1.1
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000762 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.00107
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/IunFg on line 8 Notice: A non well formed numeric value encountered in /in/IunFg on line 8 0.000502 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 Notice: A non well formed numeric value encountered in /in/IunFg on line 15 0.000711
Output for 7.0.31
0.000606 0.000853
Output for 7.0.30
0.000426 0.000601
Output for 7.0.29
0.000717 0.000791
Output for 7.0.28
0.000438 0.00057
Output for 7.0.27
0.000614 0.000884
Output for 7.0.26
0.000598 0.000886
Output for 7.0.25
0.00044 0.000624
Output for 7.0.24
0.000464 0.000561
Output for 7.0.23
0.000446 0.000622
Output for 7.0.22
0.000424 0.000578
Output for 7.0.21
0.000784 0.000879
Output for 7.0.20
0.00042 0.000652
Output for 7.0.19
0.000771 0.001247
Output for 7.0.18
0.000869 0.001206
Output for 7.0.17
0.000511 0.000584
Output for 7.0.16
0.000658 0.001111
Output for 7.0.15
0.000423 0.000583
Output for 7.0.14
0.000427 0.000735
Output for 7.0.13
0.000628 0.00099
Output for 7.0.12
0.00043 0.000631
Output for 7.0.11
0.000414 0.000595
Output for 7.0.10
0.000648 0.000882
Output for 7.0.9
0.000455 0.000582
Output for 7.0.8
0.000618 0.000893
Output for 7.0.7
0.000626 0.000747
Output for 7.0.6
0.001097 0.001293
Output for 7.0.5
0.000897 0.000982
Output for 7.0.4
0.000661 0.001108
Output for 7.0.3
0.000701 0.000875
Output for 7.0.2
0.000664 0.000748
Output for 7.0.1
0.000436 0.000565
Output for 7.0.0
0.000436 0.000557
Output for hhvm-3.22.0
0.001022 0.00082199999999999
Output for hhvm-3.21.3
0.003959 0.001389
Output for hhvm-3.21.0
0.000942 0.00078800000000001
Output for hhvm-3.20.2
0.00095699999999999 0.000915
Output for hhvm-3.19.2
0.00091199999999997 0.00094899999999998
Output for hhvm-3.18.5
0.000914 0.00079800000000002
Output for hhvm-3.18.4
0.00089100000000003 0.000747
Output for hhvm-3.15.4
0.00095100000000004 0.00090100000000004
Output for 5.6.30
0.003724 0.006048