3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = microtime(); $a = range(1,10000); foreach ($a as $i) { isset($a['asd']); } echo microtime() - $time, "\n";
Output for 7.2.9
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000626
Output for 7.2.8
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.002668
Output for 7.2.7
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000498
Output for 7.2.6
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.003458
Output for 7.2.5
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000635
Output for 7.2.4
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000557
Output for 7.2.3
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000631
Output for 7.2.2
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.003744
Output for 7.2.1
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000678
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.00053
Output for 7.1.21
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000518
Output for 7.1.20
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.006512
Output for 7.1.19
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.003329
Output for 7.1.18
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.008769
Output for 7.1.17
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.004511
Output for 7.1.16
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.003291
Output for 7.1.15
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.004111
Output for 7.1.14
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.003792
Output for 7.1.13
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.0006
Output for 7.1.12
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.00535
Output for 7.1.11
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.002682
Output for 7.1.10
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.006482
Output for 7.1.9
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000593
Output for 7.1.8
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.005336
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000614
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.002991
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.009
Output for 7.1.4
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.00492
Output for 7.1.3
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.005526
Output for 7.1.2
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.003722
Output for 7.1.1
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.002814
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 Notice: A non well formed numeric value encountered in /in/pTDbf on line 8 0.000519
Output for 7.0.31
0.000538
Output for 7.0.30
0.00042
Output for 7.0.29
0.000687
Output for 7.0.28
0.003244
Output for 7.0.27
0.000636
Output for 7.0.26
0.000762
Output for 7.0.25
0.000406
Output for 7.0.24
0.000435
Output for 7.0.15, 7.0.20, 7.0.23
0.000581
Output for 7.0.22
0.000703
Output for 7.0.17, 7.0.21
0.000606
Output for 7.0.19
0.000633
Output for 7.0.18
0.000594
Output for 7.0.16
0.000403
Output for 7.0.14
0.000589
Output for 7.0.13
0.00039
Output for 7.0.12
0.000442
Output for 7.0.11
0.000412
Output for 7.0.10
0.000624
Output for 7.0.9
0.000784
Output for 7.0.8
0.000414
Output for 7.0.7
0.000638
Output for 7.0.6
0.000614
Output for 7.0.5
0.000498
Output for 7.0.4
0.000574
Output for 7.0.3
0.000662
Output for 7.0.2
0.000542
Output for 7.0.1
0.000534
Output for 7.0.0
0.000615

preferences:
92.12 ms | 401 KiB | 69 Q