3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(); $time = microtime(true); for ($i = 0; $i <= 100000; $i++) { $j = @$arr['foo']; } printf("%f seconds", microtime(true) - $time);
based on 21QCp
Output for 7.1.0
0.029321 seconds
Output for 7.0.14
0.029278 seconds
Output for 7.0.6
0.027238 seconds
Output for 7.0.5
0.019429 seconds
Output for 7.0.4
0.016858 seconds
Output for 7.0.3
0.017259 seconds
Output for 7.0.2
0.018075 seconds
Output for 7.0.1
0.023700 seconds
Output for 7.0.0
0.017489 seconds
Output for hhvm-3.12.0
0.011851 seconds
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
0.043155 seconds
Output for 5.6.21
0.026831 seconds
Output for 5.6.20
0.037386 seconds
Output for 5.6.19
0.039437 seconds
Output for 5.6.18
0.030880 seconds
Output for 5.6.17
0.033582 seconds
Output for 5.6.16
0.033271 seconds
Output for 5.6.15
0.039065 seconds
Output for 5.6.14
0.039158 seconds
Output for 5.6.13
0.039408 seconds
Output for 5.6.12
0.039112 seconds
Output for 5.6.11
0.025421 seconds
Output for 5.6.10
0.036008 seconds
Output for 5.6.9
0.038681 seconds
Output for 5.6.8
0.030635 seconds
Output for 5.6.7
0.026203 seconds
Output for 5.5.35
0.038986 seconds
Output for 5.5.34
0.036661 seconds
Output for 5.5.33
0.032880 seconds
Output for 5.5.32
0.031448 seconds
Output for 5.5.31
0.032249 seconds
Output for 5.5.30
0.035045 seconds
Output for 5.5.29
0.035840 seconds
Output for 5.5.28
0.035136 seconds
Output for 5.5.27
0.040190 seconds
Output for 5.5.26
0.039384 seconds
Output for 5.5.25
0.038212 seconds
Output for 5.5.24
0.022054 seconds
Output for 5.4.45
0.039770 seconds
Output for 5.4.44
0.032697 seconds
Output for 5.4.43
0.032135 seconds
Output for 5.4.42
0.030819 seconds
Output for 5.4.41
0.037121 seconds
Output for 5.4.40
0.036876 seconds
Output for 5.4.39
0.030872 seconds
Output for 5.4.38
0.026549 seconds
Output for 5.4.37
0.028566 seconds
Output for 5.4.36
0.037079 seconds
Output for 5.4.35
0.025683 seconds
Output for 5.4.34
0.026007 seconds
Output for 5.4.32
0.025939 seconds
Output for 5.4.31
0.047634 seconds
Output for 5.4.30
0.028017 seconds
Output for 5.4.29
0.030507 seconds
Output for 5.4.28
0.029671 seconds
Output for 5.4.27
0.036698 seconds
Output for 5.4.26
0.037033 seconds
Output for 5.4.25
0.037119 seconds
Output for 5.4.24
0.034741 seconds
Output for 5.4.23
0.026110 seconds
Output for 5.4.22
0.033805 seconds
Output for 5.4.21
0.038432 seconds
Output for 5.4.20
0.036366 seconds
Output for 5.4.19
0.040969 seconds
Output for 5.4.18
0.033873 seconds
Output for 5.4.17
0.037321 seconds
Output for 5.3.0, 5.4.16
0.036709 seconds
Output for 5.4.15
0.027311 seconds
Output for 5.4.14
0.031112 seconds
Output for 5.4.13
0.026331 seconds
Output for 5.4.12
0.027630 seconds
Output for 5.4.11
0.026058 seconds
Output for 5.4.10
0.032222 seconds
Output for 5.4.9
0.025998 seconds
Output for 5.4.8
0.041992 seconds
Output for 5.4.7
0.026940 seconds
Output for 5.4.6
0.028232 seconds
Output for 5.4.5
0.025601 seconds
Output for 5.4.4
0.043240 seconds
Output for 5.4.3
0.025513 seconds
Output for 5.4.2
0.026206 seconds
Output for 5.4.1
0.025301 seconds
Output for 5.4.0
0.025991 seconds
Output for 5.3.29
0.054693 seconds
Output for 5.3.28
0.058293 seconds
Output for 5.3.27
0.050723 seconds
Output for 5.3.26
0.047363 seconds
Output for 5.3.25
0.056340 seconds
Output for 5.3.24
0.050944 seconds
Output for 5.3.23
0.037244 seconds
Output for 5.3.22
0.050107 seconds
Output for 5.3.21
0.038812 seconds
Output for 5.3.20
0.052245 seconds
Output for 5.3.19
0.044211 seconds
Output for 5.3.18
0.038661 seconds
Output for 5.3.17
0.038179 seconds
Output for 5.3.16
0.038651 seconds
Output for 5.3.5, 5.3.15
0.038102 seconds
Output for 5.3.14
0.038389 seconds
Output for 5.3.13
0.037347 seconds
Output for 5.3.12
0.036139 seconds
Output for 5.3.11
0.036374 seconds
Output for 5.3.10
0.036877 seconds
Output for 5.3.9
0.036277 seconds
Output for 5.3.8
0.036598 seconds
Output for 5.3.7
0.036219 seconds
Output for 5.3.6
0.044534 seconds
Output for 5.3.4
0.036853 seconds
Output for 5.3.3
0.039744 seconds
Output for 5.3.2
0.036245 seconds
Output for 5.3.1
0.036965 seconds
Output for 5.2.17
0.040517 seconds
Output for 5.2.16
0.040995 seconds
Output for 5.2.15
0.049565 seconds
Output for 5.2.14
0.039249 seconds
Output for 5.2.13
0.040033 seconds
Output for 5.2.12
0.039603 seconds
Output for 5.2.11
0.041046 seconds
Output for 5.2.10
0.038657 seconds
Output for 5.2.9
0.054174 seconds
Output for 5.2.8
0.042936 seconds
Output for 5.2.7
0.057469 seconds
Output for 5.2.6
0.039548 seconds
Output for 5.2.5
0.060188 seconds
Output for 5.2.4
0.052920 seconds
Output for 5.2.3
0.062051 seconds
Output for 5.2.2
0.060401 seconds
Output for 5.2.1
0.044314 seconds
Output for 5.2.0
0.065468 seconds
Output for 5.1.6
0.067025 seconds
Output for 5.1.5
0.057498 seconds
Output for 5.1.4
0.054965 seconds
Output for 5.1.3
0.071083 seconds
Output for 5.1.2
0.061395 seconds
Output for 5.1.1
0.058983 seconds
Output for 5.1.0
0.056517 seconds
Output for 5.0.5
0.085896 seconds
Output for 5.0.4
0.074902 seconds
Output for 5.0.3
0.060205 seconds
Output for 5.0.2
0.071702 seconds
Output for 5.0.1
0.054722 seconds
Output for 5.0.0
0.077466 seconds
Output for 4.4.9
0.084007 seconds
Output for 4.4.8
0.072700 seconds
Output for 4.4.7
0.122776 seconds
Output for 4.4.6
0.062886 seconds
Output for 4.4.5
0.082048 seconds
Output for 4.4.4
-0.925050 seconds
Output for 4.4.3
0.094820 seconds
Output for 4.4.2
0.088051 seconds
Output for 4.4.1
0.091453 seconds
Output for 4.4.0
0.081616 seconds
Output for 4.3.11
0.090748 seconds
Output for 4.3.10
0.091921 seconds
Output for 4.3.9
0.094215 seconds
Output for 4.3.8
0.099102 seconds
Output for 4.3.7
0.090038 seconds
Output for 4.3.6
0.057635 seconds
Output for 4.3.5
-0.905065 seconds
Output for 4.3.4
0.088886 seconds
Output for 4.3.3
0.089752 seconds
Output for 4.3.2
0.090254 seconds
Output for 4.3.1
0.070255 seconds
Output for 4.3.0
0.092984 seconds