3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = microtime(true); for($i = 0; $i < 100000; $i++) { $a = rand(1, 100); $b = rand(1, 100); $c = $a == $b; } echo sprintf("%f seconds", microtime(true) - $s);
Output for 7.1.0
0.026652 seconds
Output for 7.0.14
0.020331 seconds
Output for 7.0.10
0.016822 seconds
Output for 7.0.9
0.018635 seconds
Output for 7.0.8
0.019116 seconds
Output for 7.0.7
0.018331 seconds
Output for 7.0.6
0.018052 seconds
Output for 7.0.5
0.018584 seconds
Output for 7.0.4
0.021272 seconds
Output for 7.0.3
0.017085 seconds
Output for 7.0.2
0.020746 seconds
Output for 7.0.1
0.019034 seconds
Output for 7.0.0
0.021035 seconds
Output for hhvm-3.12.0
0.028618 seconds
Output for hhvm-3.10.0
0.039898 seconds
Output for 5.6.28
0.047897 seconds
Output for 5.6.25
0.037603 seconds
Output for 5.6.24
0.024517 seconds
Output for 5.6.23
0.033684 seconds
Output for 5.6.22
0.037300 seconds
Output for 5.6.21
0.024458 seconds
Output for 5.6.20
0.038254 seconds
Output for 5.6.19
0.031560 seconds
Output for 5.6.18
0.031099 seconds
Output for 5.6.17
0.036669 seconds
Output for 5.6.16
0.033330 seconds
Output for 5.6.15
0.034721 seconds
Output for 5.6.14
0.035544 seconds
Output for 5.6.13
0.038696 seconds
Output for 5.6.12
0.035156 seconds
Output for 5.6.11
0.030187 seconds
Output for 5.6.10
0.037607 seconds
Output for 5.6.9
0.036982 seconds
Output for 5.6.8
0.031494 seconds
Output for 5.6.7
0.038079 seconds
Output for 5.6.6
0.030404 seconds
Output for 5.6.5
0.030564 seconds
Output for 5.6.4
0.027145 seconds
Output for 5.6.3
0.034620 seconds
Output for 5.6.2
0.024373 seconds
Output for 5.6.1
0.043736 seconds
Output for 5.6.0
0.032573 seconds
Output for 5.5.38
0.038396 seconds
Output for 5.5.37
0.035304 seconds
Output for 5.5.36
0.038001 seconds
Output for 5.5.35
0.037002 seconds
Output for 5.5.34
0.029761 seconds
Output for 5.5.33
0.038329 seconds
Output for 5.5.32
0.036922 seconds
Output for 5.5.31
0.024998 seconds
Output for 5.5.30
0.033517 seconds
Output for 5.5.29
0.024863 seconds
Output for 5.5.28
0.030689 seconds
Output for 5.5.27
0.029342 seconds
Output for 5.5.26
0.032086 seconds
Output for 5.5.25
0.033398 seconds
Output for 5.5.24
0.040400 seconds
Output for 5.5.23
0.038301 seconds
Output for 5.5.22
0.034808 seconds
Output for 5.5.21
0.030633 seconds
Output for 5.5.20
0.033549 seconds
Output for 5.5.19
0.034668 seconds
Output for 5.5.18
0.040995 seconds
Output for 5.5.16
0.032231 seconds
Output for 5.5.15
0.036025 seconds
Output for 5.5.14
0.036395 seconds
Output for 5.5.13
0.041845 seconds
Output for 5.5.12
0.038271 seconds
Output for 5.5.11
0.039359 seconds
Output for 5.5.10
0.039457 seconds
Output for 5.5.9
0.034341 seconds
Output for 5.5.8
0.030583 seconds
Output for 5.5.7
0.030824 seconds
Output for 5.5.6
0.032141 seconds
Output for 5.5.5
0.036005 seconds
Output for 5.5.4
0.036572 seconds
Output for 5.5.3
0.032892 seconds
Output for 5.5.2
0.035407 seconds
Output for 5.5.1
0.038869 seconds
Output for 5.5.0
0.038741 seconds
Output for 5.4.45
0.036121 seconds
Output for 5.4.44
0.034867 seconds
Output for 5.4.43
0.037407 seconds
Output for 5.4.42
0.030226 seconds
Output for 5.4.41
0.029383 seconds
Output for 5.4.40
0.031580 seconds
Output for 5.4.39
0.034172 seconds
Output for 5.4.38
0.036203 seconds
Output for 5.4.37
0.030121 seconds
Output for 5.4.36
0.036394 seconds
Output for 5.4.35
0.035870 seconds
Output for 5.4.34
0.030410 seconds
Output for 5.4.32
0.033613 seconds
Output for 5.4.31
0.032552 seconds
Output for 5.4.30
0.035151 seconds
Output for 5.4.29
0.036352 seconds
Output for 5.4.28
0.033287 seconds
Output for 5.4.27
0.036239 seconds
Output for 5.4.26
0.035222 seconds
Output for 5.4.25
0.029311 seconds
Output for 5.4.24
0.037936 seconds
Output for 5.4.23
0.030508 seconds
Output for 5.4.22
0.026433 seconds
Output for 5.4.21
0.038488 seconds
Output for 5.4.20
0.032537 seconds
Output for 5.4.19
0.037769 seconds
Output for 5.4.18
0.036257 seconds
Output for 5.4.17
0.030353 seconds
Output for 5.4.16
0.035432 seconds
Output for 5.4.15
0.035098 seconds
Output for 5.4.14
0.041858 seconds
Output for 5.4.13
0.038406 seconds
Output for 5.4.12
0.038983 seconds
Output for 5.4.11
0.037999 seconds
Output for 5.4.10
0.030441 seconds
Output for 5.4.9
0.039347 seconds
Output for 5.4.8
0.036227 seconds
Output for 5.4.7
0.038393 seconds
Output for 5.4.6
0.038664 seconds
Output for 5.4.5
0.040809 seconds
Output for 5.4.4
0.033377 seconds
Output for 5.4.3
0.030630 seconds
Output for 5.4.2
0.032343 seconds
Output for 5.4.1
0.030529 seconds
Output for 5.4.0
0.031664 seconds
Output for 5.3.29
0.044429 seconds
Output for 5.3.28
0.044073 seconds
Output for 5.3.27
0.033564 seconds
Output for 5.3.26
0.039382 seconds
Output for 5.3.25
0.050034 seconds
Output for 5.3.24
0.040343 seconds
Output for 5.3.23
0.036588 seconds
Output for 5.3.22
0.044925 seconds
Output for 5.3.21
0.046328 seconds
Output for 5.3.20
0.045879 seconds
Output for 5.3.19
0.038633 seconds
Output for 5.3.18
0.042901 seconds
Output for 5.3.17
0.042468 seconds
Output for 5.3.16
0.033990 seconds
Output for 5.3.15
0.043623 seconds
Output for 5.3.14
0.042772 seconds
Output for 5.3.13
0.039047 seconds
Output for 5.3.12
0.041524 seconds
Output for 5.3.11
0.049241 seconds
Output for 5.3.10
0.031191 seconds
Output for 5.3.9
0.046639 seconds
Output for 5.3.8
0.036379 seconds
Output for 5.3.7
0.040023 seconds
Output for 5.3.6
0.035793 seconds
Output for 5.3.5
0.047186 seconds
Output for 5.3.4
0.041372 seconds
Output for 5.3.3
0.038492 seconds
Output for 5.3.2
0.047714 seconds
Output for 5.3.1
0.044827 seconds
Output for 5.3.0
0.034930 seconds
Output for 5.2.17
0.054067 seconds
Output for 5.2.16
0.053578 seconds
Output for 5.2.15
0.055193 seconds
Output for 5.2.14
0.052613 seconds
Output for 5.2.13
0.057371 seconds
Output for 5.2.12
0.043179 seconds
Output for 5.2.11
0.049442 seconds
Output for 5.2.10
0.040196 seconds
Output for 5.2.9
0.041726 seconds
Output for 5.2.8
0.034887 seconds
Output for 5.2.7
0.035615 seconds
Output for 5.2.6
0.036458 seconds
Output for 5.2.5
0.034752 seconds
Output for 5.2.4
0.035680 seconds
Output for 5.2.3
0.035002 seconds
Output for 5.2.2
0.038367 seconds
Output for 5.2.1
0.044071 seconds
Output for 5.2.0
0.041422 seconds
Output for 5.1.6
0.033869 seconds
Output for 5.1.5
0.031819 seconds
Output for 5.1.4
0.044179 seconds
Output for 5.1.3
0.037601 seconds
Output for 5.1.2
0.035420 seconds
Output for 5.1.1
0.036035 seconds
Output for 5.1.0
0.051045 seconds
Output for 5.0.5
0.082464 seconds
Output for 5.0.4
0.056946 seconds
Output for 5.0.3
0.060831 seconds
Output for 5.0.2
0.051972 seconds
Output for 5.0.1
0.055988 seconds
Output for 5.0.0
0.053842 seconds
Output for 4.4.9
0.052417 seconds
Output for 4.4.8
0.051079 seconds
Output for 4.4.7
0.052206 seconds
Output for 4.4.6
0.055602 seconds
Output for 4.4.5
0.057229 seconds
Output for 4.4.4
0.085041 seconds
Output for 4.4.3
0.050451 seconds
Output for 4.4.2
0.051407 seconds
Output for 4.4.1
0.053376 seconds
Output for 4.4.0
0.052019 seconds
Output for 4.3.11
0.049987 seconds
Output for 4.3.10
0.064701 seconds
Output for 4.3.9
0.057822 seconds
Output for 4.3.8
0.050848 seconds
Output for 4.3.7
0.051525 seconds
Output for 4.3.6
0.051437 seconds
Output for 4.3.5
0.065470 seconds
Output for 4.3.4
0.049838 seconds
Output for 4.3.3
0.057900 seconds
Output for 4.3.2
0.340547 seconds
Output for 4.3.1
0.284341 seconds
Output for 4.3.0
0.333621 seconds