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.026133 seconds
Output for 7.0.14
0.021100 seconds
Output for 7.0.11
0.014452 seconds
Output for 7.0.10
0.015778 seconds
Output for 7.0.9
0.021473 seconds
Output for 7.0.8
0.013769 seconds
Output for 7.0.7
0.019076 seconds
Output for 7.0.6
0.019468 seconds
Output for 7.0.5
0.019709 seconds
Output for 7.0.4
0.016368 seconds
Output for 7.0.3
0.017919 seconds
Output for 7.0.2
0.015648 seconds
Output for 7.0.1
0.021146 seconds
Output for 7.0.0
0.021032 seconds
Output for hhvm-3.13.2
0.027891 seconds
Output for hhvm-3.12.0
0.028017 seconds
Output for hhvm-3.10.0
0.039523 seconds
Output for 5.6.28
0.050136 seconds
Output for 5.6.26
0.032668 seconds
Output for 5.6.25
0.047750 seconds
Output for 5.6.24
0.029023 seconds
Output for 5.6.23
0.026057 seconds
Output for 5.6.22
0.025419 seconds
Output for 5.6.21
0.030883 seconds
Output for 5.6.20
0.037777 seconds
Output for 5.6.19
0.030775 seconds
Output for 5.6.18
0.034892 seconds
Output for 5.6.17
0.033444 seconds
Output for 5.6.16
0.028771 seconds
Output for 5.6.15
0.033602 seconds
Output for 5.6.14
0.031280 seconds
Output for 5.6.13
0.028151 seconds
Output for 5.6.12
0.032183 seconds
Output for 5.6.11
0.039866 seconds
Output for 5.6.10
0.029021 seconds
Output for 5.6.9
0.034340 seconds
Output for 5.6.8
0.035984 seconds
Output for 5.6.7
0.029995 seconds
Output for 5.6.6
0.031314 seconds
Output for 5.6.5
0.035696 seconds
Output for 5.6.4
0.037771 seconds
Output for 5.6.3
0.029493 seconds
Output for 5.6.2
0.038631 seconds
Output for 5.6.1
0.030295 seconds
Output for 5.6.0
0.030738 seconds
Output for 5.5.38
0.038934 seconds
Output for 5.5.37
0.034426 seconds
Output for 5.5.36
0.028752 seconds
Output for 5.5.35
0.035946 seconds
Output for 5.5.34
0.035427 seconds
Output for 5.5.33
0.033020 seconds
Output for 5.5.32
0.028614 seconds
Output for 5.5.31
0.031999 seconds
Output for 5.5.30
0.037667 seconds
Output for 5.5.29
0.036212 seconds
Output for 5.5.28
0.032204 seconds
Output for 5.5.27
0.037716 seconds
Output for 5.5.26
0.033475 seconds
Output for 5.5.25
0.029550 seconds
Output for 5.5.24
0.035046 seconds
Output for 5.5.23
0.034794 seconds
Output for 5.5.22
0.035095 seconds
Output for 5.5.21
0.034904 seconds
Output for 5.5.20
0.033294 seconds
Output for 5.5.19
0.037317 seconds
Output for 5.5.18
0.031605 seconds
Output for 5.5.16
0.032072 seconds
Output for 5.5.15
0.034734 seconds
Output for 5.5.14
0.036215 seconds
Output for 5.5.13
0.036652 seconds
Output for 5.5.12
0.032157 seconds
Output for 5.5.11
0.036298 seconds
Output for 5.5.10
0.033988 seconds
Output for 5.5.9
0.036432 seconds
Output for 5.5.8
0.029642 seconds
Output for 5.5.7
0.039055 seconds
Output for 5.5.6
0.039220 seconds
Output for 5.5.5
0.041385 seconds
Output for 5.5.4
0.036887 seconds
Output for 5.5.3
0.033429 seconds
Output for 5.5.2
0.033663 seconds
Output for 5.5.1
0.040112 seconds
Output for 5.5.0
0.034802 seconds
Output for 5.4.45
0.029054 seconds
Output for 5.4.44
0.034172 seconds
Output for 5.4.43
0.037594 seconds
Output for 5.4.42
0.034295 seconds
Output for 5.4.41
0.033413 seconds
Output for 5.4.40
0.024319 seconds
Output for 5.4.39
0.031745 seconds
Output for 5.4.38
0.038494 seconds
Output for 5.4.37
0.031740 seconds
Output for 5.4.36
0.037776 seconds
Output for 5.4.35
0.034812 seconds
Output for 5.4.34
0.032577 seconds
Output for 5.4.32
0.032366 seconds
Output for 5.4.31
0.031710 seconds
Output for 5.4.30
0.025583 seconds
Output for 5.4.29
0.030443 seconds
Output for 5.4.28
0.026484 seconds
Output for 5.4.27
0.037444 seconds
Output for 5.4.26
0.029455 seconds
Output for 5.4.25
0.028963 seconds
Output for 5.4.24
0.034195 seconds
Output for 5.4.23
0.033592 seconds
Output for 5.4.22
0.026707 seconds
Output for 5.4.21
0.033564 seconds
Output for 5.4.20
0.027832 seconds
Output for 5.4.19
0.032610 seconds
Output for 5.4.18
0.032788 seconds
Output for 5.4.17
0.033604 seconds
Output for 5.4.16
0.032137 seconds
Output for 5.4.15
0.038507 seconds
Output for 5.4.14
0.031964 seconds
Output for 5.4.13
0.027990 seconds
Output for 5.4.12
0.031649 seconds
Output for 5.4.11
0.034899 seconds
Output for 5.4.10
0.036160 seconds
Output for 5.4.9
0.037574 seconds
Output for 5.4.8
0.032830 seconds
Output for 5.4.7
0.034695 seconds
Output for 5.4.6
0.030429 seconds
Output for 5.4.5
0.039157 seconds
Output for 5.4.4
0.025026 seconds
Output for 5.4.3
0.034174 seconds
Output for 5.4.2
0.033975 seconds
Output for 5.4.1
0.035392 seconds
Output for 5.4.0
0.034210 seconds
Output for 5.3.29
0.040257 seconds
Output for 5.3.28
0.040765 seconds
Output for 5.3.27
0.043400 seconds
Output for 5.3.26
0.037019 seconds
Output for 5.3.25
0.039787 seconds
Output for 5.3.24
0.041384 seconds
Output for 5.3.23
0.039289 seconds
Output for 5.3.22
0.037181 seconds
Output for 5.3.21
0.033410 seconds
Output for 5.3.20
0.041634 seconds
Output for 5.3.19
0.046828 seconds
Output for 5.3.18
0.046974 seconds
Output for 5.3.17
0.039560 seconds
Output for 5.3.16
0.048962 seconds
Output for 5.3.15
0.037488 seconds
Output for 5.3.14
0.029786 seconds
Output for 5.3.13
0.046244 seconds
Output for 5.3.12
0.041088 seconds
Output for 5.3.11
0.040509 seconds
Output for 5.3.10
0.042739 seconds
Output for 5.3.9
0.042481 seconds
Output for 5.3.8
0.038305 seconds
Output for 5.3.7
0.031962 seconds
Output for 5.3.6
0.030344 seconds
Output for 5.3.5
0.034285 seconds
Output for 5.3.4
0.039258 seconds
Output for 5.3.3
0.029367 seconds
Output for 5.3.2
0.027068 seconds
Output for 5.3.1
0.032034 seconds
Output for 5.3.0
0.031755 seconds
Output for 5.2.17
0.032700 seconds
Output for 5.2.16
0.032243 seconds
Output for 5.2.15
0.032585 seconds
Output for 5.2.14
0.034386 seconds
Output for 5.2.13
0.037299 seconds
Output for 5.2.12
0.032302 seconds
Output for 5.2.11
0.029795 seconds
Output for 5.2.10
0.032560 seconds
Output for 5.2.9
0.053887 seconds
Output for 5.2.8
0.035348 seconds
Output for 5.2.7
0.034643 seconds
Output for 5.2.6
0.032240 seconds
Output for 5.2.5
0.051038 seconds
Output for 5.2.4
0.029138 seconds
Output for 5.2.3
0.033359 seconds
Output for 5.2.2
0.050749 seconds
Output for 5.2.1
0.036380 seconds
Output for 5.2.0
0.034525 seconds
Output for 5.1.6
0.030300 seconds
Output for 5.1.5
0.034763 seconds
Output for 5.1.4
0.039746 seconds
Output for 5.1.3
0.029980 seconds
Output for 5.1.2
0.041166 seconds
Output for 5.1.1
0.033916 seconds
Output for 5.1.0
0.031244 seconds
Output for 5.0.5
0.055473 seconds
Output for 5.0.4
0.054720 seconds
Output for 5.0.3
0.052137 seconds
Output for 5.0.2
0.054586 seconds
Output for 5.0.1
0.070255 seconds
Output for 5.0.0
0.060619 seconds
Output for 4.4.9
0.049016 seconds
Output for 4.4.8
0.048529 seconds
Output for 4.4.7
0.061486 seconds
Output for 4.4.6
0.049121 seconds
Output for 4.4.5
0.049884 seconds
Output for 4.4.4
0.049663 seconds
Output for 4.4.3
0.048858 seconds
Output for 4.4.2
0.061187 seconds
Output for 4.4.1
0.048734 seconds
Output for 4.4.0
0.051494 seconds
Output for 4.3.11
0.048457 seconds
Output for 4.3.10
0.047658 seconds
Output for 4.3.9
0.065960 seconds
Output for 4.3.8
0.050362 seconds
Output for 4.3.7
0.082675 seconds
Output for 4.3.6
0.082169 seconds
Output for 4.3.5
0.086681 seconds
Output for 4.3.4
0.065325 seconds
Output for 4.3.3
0.069537 seconds
Output for 4.3.2
0.302203 seconds
Output for 4.3.1
0.358171 seconds
Output for 4.3.0
0.321472 seconds