3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(); $time = microtime(true); for ($i = 0; $i <= 1000000; $i++) { $j = @$arr['foo']; } printf("%f seconds", microtime(true) - $time);
based on 36AiH
Output for 7.1.0
0.218557 seconds
Output for 7.0.14
0.224196 seconds
Output for 7.0.6
0.180374 seconds
Output for 7.0.5
0.164155 seconds
Output for 7.0.4
0.166141 seconds
Output for 7.0.3
0.173692 seconds
Output for 7.0.2
0.184406 seconds
Output for 7.0.1
0.190863 seconds
Output for 7.0.0
0.170628 seconds
Output for hhvm-3.12.0
0.216626 seconds
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
0.303620 seconds
Output for 5.6.21
0.285136 seconds
Output for 5.6.20
0.281894 seconds
Output for 5.6.19
0.266162 seconds
Output for 5.6.18
0.265622 seconds
Output for 5.6.17
0.277103 seconds
Output for 5.6.16
0.281672 seconds
Output for 5.6.15
0.264687 seconds
Output for 5.6.14
0.256820 seconds
Output for 5.6.13
0.273420 seconds
Output for 5.6.12
0.266832 seconds
Output for 5.6.11
0.285032 seconds
Output for 5.6.10
0.268762 seconds
Output for 5.6.9
0.256152 seconds
Output for 5.6.8
0.262557 seconds
Output for 5.6.7
0.263178 seconds
Output for 5.5.35
0.285904 seconds
Output for 5.5.34
0.296229 seconds
Output for 5.5.33
0.292939 seconds
Output for 5.5.32
0.304772 seconds
Output for 5.5.31
0.321449 seconds
Output for 5.5.30
0.260032 seconds
Output for 5.5.29
0.282160 seconds
Output for 5.5.28
0.290438 seconds
Output for 5.5.27
0.285049 seconds
Output for 5.5.26
0.270189 seconds
Output for 5.5.25
0.256919 seconds
Output for 5.5.24
0.281047 seconds
Output for 5.4.45
0.226324 seconds
Output for 5.4.44
0.370435 seconds
Output for 5.4.43
0.339786 seconds
Output for 5.4.42
0.857837 seconds
Output for 5.4.41
0.365810 seconds
Output for 5.4.40
1.214372 seconds
Output for 5.4.39
1.353417 seconds
Output for 5.4.38
0.422015 seconds
Output for 5.4.37
0.467455 seconds
Output for 5.4.36
0.527773 seconds
Output for 5.4.35
0.406652 seconds
Output for 5.4.34
0.584509 seconds
Output for 5.4.32
0.314804 seconds
Output for 5.4.31
0.311966 seconds
Output for 5.4.30
0.298233 seconds
Output for 5.4.29
0.325446 seconds
Output for 5.4.28
0.305916 seconds
Output for 5.4.27
0.338311 seconds
Output for 5.4.26
0.302399 seconds
Output for 5.4.25
0.293292 seconds
Output for 5.4.24
0.370977 seconds
Output for 5.4.23
0.372547 seconds
Output for 5.4.22
0.376907 seconds
Output for 5.4.21
0.325255 seconds
Output for 5.4.20
0.326025 seconds
Output for 5.4.19
0.304676 seconds
Output for 5.4.18
0.378339 seconds
Output for 5.4.17
0.302431 seconds
Output for 5.4.16
0.293270 seconds
Output for 5.4.15
0.307732 seconds
Output for 5.4.14
0.311020 seconds
Output for 5.4.13
0.307069 seconds
Output for 5.4.12
0.347080 seconds
Output for 5.4.11
0.343882 seconds
Output for 5.4.10
0.355195 seconds
Output for 5.4.9
0.325278 seconds
Output for 5.4.8
0.442661 seconds
Output for 5.4.7
0.366939 seconds
Output for 5.4.6
0.305701 seconds
Output for 5.4.5
0.307636 seconds
Output for 5.4.4
0.303512 seconds
Output for 5.4.3
0.300298 seconds
Output for 5.4.2
0.318309 seconds
Output for 5.4.1
0.314326 seconds
Output for 5.4.0
0.380337 seconds
Output for 5.3.29
0.507577 seconds
Output for 5.3.28
0.426782 seconds
Output for 5.3.27
0.579558 seconds
Output for 5.3.26
0.508454 seconds
Output for 5.3.25
0.724836 seconds
Output for 5.3.24
0.415766 seconds
Output for 5.3.23
0.423815 seconds
Output for 5.3.22
0.418833 seconds
Output for 5.3.21
0.461125 seconds
Output for 5.3.20
0.458335 seconds
Output for 5.3.19
0.449678 seconds
Output for 5.3.18
0.500209 seconds
Output for 5.3.17
0.482730 seconds
Output for 5.3.16
0.465308 seconds
Output for 5.3.15
0.581794 seconds
Output for 5.3.14
0.438936 seconds
Output for 5.3.13
0.425908 seconds
Output for 5.3.12
0.424376 seconds
Output for 5.3.11
0.473999 seconds
Output for 5.3.10
0.432866 seconds
Output for 5.3.9
0.478425 seconds
Output for 5.3.8
0.427591 seconds
Output for 5.3.7
0.461169 seconds
Output for 5.3.6
0.459352 seconds
Output for 5.3.5
0.453494 seconds
Output for 5.3.4
0.460169 seconds
Output for 5.3.3
0.436445 seconds
Output for 5.3.2
0.444189 seconds
Output for 5.3.1
0.440839 seconds
Output for 5.3.0
0.463025 seconds
Output for 5.2.17
0.519076 seconds
Output for 5.2.16
0.446295 seconds
Output for 5.2.15
0.578659 seconds
Output for 5.2.14
0.518001 seconds
Output for 5.2.13
0.601066 seconds
Output for 5.2.12
0.442267 seconds
Output for 5.2.11
0.472961 seconds
Output for 5.2.10
0.528189 seconds
Output for 5.2.9
0.421710 seconds
Output for 5.2.8
0.433455 seconds
Output for 5.2.7
0.578182 seconds
Output for 5.2.6
0.475422 seconds
Output for 5.2.5
0.532301 seconds
Output for 5.2.4
0.462239 seconds
Output for 5.2.3
0.446165 seconds
Output for 5.2.2
0.597866 seconds
Output for 5.2.1
0.506852 seconds
Output for 5.2.0
0.663273 seconds
Output for 5.1.6
0.487655 seconds
Output for 5.1.5
0.580267 seconds
Output for 5.1.4
0.511825 seconds
Output for 5.1.3
0.478022 seconds
Output for 5.1.2
0.634865 seconds
Output for 5.1.1
0.486444 seconds
Output for 5.1.0
0.561461 seconds
Output for 5.0.5
0.752222 seconds
Output for 5.0.4
0.632362 seconds
Output for 5.0.3
0.690292 seconds
Output for 5.0.2
0.624681 seconds
Output for 5.0.1
0.795904 seconds
Output for 5.0.0
0.693243 seconds
Output for 4.4.9
-0.090322 seconds
Output for 4.4.8
-0.297674 seconds
Output for 4.4.7
-0.252907 seconds
Output for 4.4.6
-0.046864 seconds
Output for 4.4.5
0.701740 seconds
Output for 4.4.4
-0.200508 seconds
Output for 4.4.3
-0.203301 seconds
Output for 4.4.2
-0.077053 seconds
Output for 4.4.1
-0.220256 seconds
Output for 4.4.0
-0.253421 seconds
Output for 4.3.11
0.738506 seconds
Output for 4.3.10
-0.207620 seconds
Output for 4.3.9
-0.228088 seconds
Output for 4.3.8
-0.100019 seconds
Output for 4.3.7
-0.175592 seconds
Output for 4.3.6
-0.166431 seconds
Output for 4.3.5
0.762655 seconds
Output for 4.3.4
-0.179243 seconds
Output for 4.3.3
-0.199621 seconds
Output for 4.3.2
-0.221613 seconds
Output for 4.3.1
-0.238042 seconds
Output for 4.3.0
0.124542 seconds