3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(); $time = microtime(true); for ($i = 0; $i <= 1000; $i++) { $j = @$arr['foo']; } printf("%f seconds", microtime(true) - $time);
based on Pt2TG
Output for 7.1.0
0.000292 seconds
Output for 5.4.5, 7.0.14
0.000308 seconds
Output for 7.0.6
0.000270 seconds
Output for 5.4.40, 7.0.5
0.000265 seconds
Output for 7.0.4
0.000224 seconds
Output for 7.0.3
0.000200 seconds
Output for 7.0.2
0.000174 seconds
Output for 7.0.1
0.000281 seconds
Output for 5.4.30, 7.0.0
0.000266 seconds
Output for hhvm-3.12.0
0.000137 seconds
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
0.000400 seconds
Output for 5.6.20
0.000350 seconds
Output for 5.6.19
0.000345 seconds
Output for 5.2.8, 5.6.18
0.000434 seconds
Output for 5.6.17
0.000351 seconds
Output for 5.6.8, 5.6.16
0.000420 seconds
Output for 5.6.12, 5.6.15
0.000273 seconds
Output for 5.6.14
0.000286 seconds
Output for 5.6.13
0.000488 seconds
Output for 5.4.29, 5.6.11
0.000267 seconds
Output for 5.6.10
0.000471 seconds
Output for 5.4.7, 5.6.9
0.000426 seconds
Output for 5.5.35
0.000510 seconds
Output for 5.4.10, 5.5.34
0.000427 seconds
Output for 5.5.33
0.000383 seconds
Output for 5.5.32
0.000322 seconds
Output for 5.4.42, 5.5.31
0.000259 seconds
Output for 5.5.30
0.000430 seconds
Output for 5.5.29
0.000366 seconds
Output for 5.5.28
0.000335 seconds
Output for 5.5.27
0.000385 seconds
Output for 5.5.26
0.000382 seconds
Output for 5.5.25
0.000375 seconds
Output for 5.5.24
0.000755 seconds
Output for 5.4.45
0.000258 seconds
Output for 5.4.44
0.000342 seconds
Output for 5.4.4, 5.4.15, 5.4.23, 5.4.38, 5.4.41, 5.4.43
0.000261 seconds
Output for 5.4.27, 5.4.39
0.000256 seconds
Output for 5.4.32, 5.4.37
0.000278 seconds
Output for 5.4.22, 5.4.25, 5.4.36
0.000257 seconds
Output for 5.4.35
0.000431 seconds
Output for 5.4.34
0.000364 seconds
Output for 5.4.31
0.000343 seconds
Output for 5.4.28
0.000294 seconds
Output for 5.4.26
0.000263 seconds
Output for 5.3.5, 5.4.24
0.000457 seconds
Output for 5.4.21
0.000272 seconds
Output for 5.4.20
0.000442 seconds
Output for 5.4.19
0.000352 seconds
Output for 5.4.18
0.000324 seconds
Output for 5.4.12, 5.4.17
0.000264 seconds
Output for 5.4.16
0.000436 seconds
Output for 5.4.14
0.000412 seconds
Output for 5.4.13
0.000284 seconds
Output for 5.4.11
0.000276 seconds
Output for 5.4.9
0.000411 seconds
Output for 5.4.8
0.000317 seconds
Output for 5.4.6
0.000368 seconds
Output for 5.4.3
0.000340 seconds
Output for 5.4.2
0.000392 seconds
Output for 5.4.1
0.000415 seconds
Output for 5.4.0
0.000393 seconds
Output for 5.3.29
0.000622 seconds
Output for 5.2.13, 5.3.28
0.000638 seconds
Output for 4.3.5, 5.3.20, 5.3.27
0.000579 seconds
Output for 5.3.26
0.000554 seconds
Output for 5.3.25
0.001063 seconds
Output for 5.3.24
0.000516 seconds
Output for 5.2.3, 5.3.18, 5.3.23
0.000521 seconds
Output for 5.3.22
0.000830 seconds
Output for 5.3.21
0.000397 seconds
Output for 5.3.19
0.000504 seconds
Output for 5.0.0, 5.3.17
0.000817 seconds
Output for 5.3.16
0.000791 seconds
Output for 5.3.15
0.000607 seconds
Output for 5.3.14
0.000612 seconds
Output for 5.3.13
0.000519 seconds
Output for 5.3.12
0.000567 seconds
Output for 5.3.2, 5.3.11
0.000536 seconds
Output for 5.1.2, 5.3.10
0.000437 seconds
Output for 4.4.4, 5.3.9
0.000568 seconds
Output for 5.3.8
0.000399 seconds
Output for 5.3.7
0.000590 seconds
Output for 5.3.6
0.000651 seconds
Output for 5.2.12, 5.3.4
0.000610 seconds
Output for 5.3.3
0.000547 seconds
Output for 5.3.1
0.000540 seconds
Output for 5.3.0
0.000390 seconds
Output for 5.2.17
0.000500 seconds
Output for 5.2.16
0.000498 seconds
Output for 5.2.15
0.000709 seconds
Output for 5.2.14
0.000632 seconds
Output for 5.2.11
0.000408 seconds
Output for 5.2.10
0.000401 seconds
Output for 5.2.9
0.000652 seconds
Output for 5.2.7
0.000687 seconds
Output for 5.2.6
0.000724 seconds
Output for 5.2.5
0.000528 seconds
Output for 5.2.4
0.001023 seconds
Output for 5.2.2
0.000668 seconds
Output for 5.2.1
0.001162 seconds
Output for 5.2.0
0.000736 seconds
Output for 5.1.6
0.000811 seconds
Output for 5.1.5
0.000664 seconds
Output for 5.1.4
0.000490 seconds
Output for 5.1.3
0.000773 seconds
Output for 5.1.1
0.000689 seconds
Output for 5.1.0
0.000470 seconds
Output for 5.0.5
0.000897 seconds
Output for 5.0.4
0.000876 seconds
Output for 5.0.3
0.000533 seconds
Output for 5.0.2
0.000991 seconds
Output for 5.0.1
0.000986 seconds
Output for 4.4.9
0.001073 seconds
Output for 4.4.8
0.001056 seconds
Output for 4.4.7
0.000873 seconds
Output for 4.4.6
0.001282 seconds
Output for 4.4.5
0.000966 seconds
Output for 4.4.3
0.001308 seconds
Output for 4.4.2
0.000861 seconds
Output for 4.4.1
0.001211 seconds
Output for 4.4.0
0.000627 seconds
Output for 4.3.11
0.000648 seconds
Output for 4.3.10
0.000682 seconds
Output for 4.3.9
0.000738 seconds
Output for 4.3.8
0.000593 seconds
Output for 4.3.7
0.000575 seconds
Output for 4.3.6
0.000883 seconds
Output for 4.3.4
0.000570 seconds
Output for 4.3.3
0.001003 seconds
Output for 4.3.2
0.000951 seconds
Output for 4.3.1
0.000608 seconds
Output for 4.3.0
0.000752 seconds