3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = microtime(true); for($i = 0; $i < 100000; $i++) { $a = 100; $b = 200; $c = $a == $b; } echo sprintf("%f seconds", microtime(true) - $s);
Output for 7.1.0
0.005727 seconds
Output for 7.0.14
0.003332 seconds
Output for 7.0.7
0.003107 seconds
Output for 7.0.6
0.003133 seconds
Output for 7.0.5
0.003121 seconds
Output for 7.0.4
0.003204 seconds
Output for 7.0.3
0.002794 seconds
Output for 7.0.2
0.002876 seconds
Output for 7.0.1
0.003134 seconds
Output for 7.0.0
0.003027 seconds
Output for hhvm-3.12.0
0.008919 seconds
Output for hhvm-3.10.0
0.010020 seconds
Output for 5.6.28
0.011668 seconds
Output for 5.6.22
0.005725 seconds
Output for 5.6.5, 5.6.21
0.006813 seconds
Output for 5.6.20
0.006614 seconds
Output for 5.6.19
0.005706 seconds
Output for 5.6.18
0.005011 seconds
Output for 5.6.17
0.006531 seconds
Output for 5.6.16
0.004874 seconds
Output for 5.6.15
0.005955 seconds
Output for 5.6.14
0.003946 seconds
Output for 5.6.13
0.005678 seconds
Output for 5.6.12
0.005422 seconds
Output for 5.6.11
0.006003 seconds
Output for 5.6.10
0.004682 seconds
Output for 5.6.9
0.005743 seconds
Output for 5.6.8
0.005224 seconds
Output for 5.6.7
0.004846 seconds
Output for 5.6.6
0.005434 seconds
Output for 5.6.4
0.005960 seconds
Output for 5.6.3
0.007063 seconds
Output for 5.6.2
0.007020 seconds
Output for 5.6.1
0.007216 seconds
Output for 5.6.0
0.005894 seconds
Output for 5.5.36
0.006254 seconds
Output for 5.5.35
0.006359 seconds
Output for 5.5.34
0.006846 seconds
Output for 5.5.33
0.006394 seconds
Output for 5.5.32
0.004718 seconds
Output for 5.5.31
0.005937 seconds
Output for 5.4.12, 5.5.30
0.003968 seconds
Output for 5.5.29
0.006674 seconds
Output for 5.5.28
0.005217 seconds
Output for 5.5.27
0.005594 seconds
Output for 5.5.26
0.006877 seconds
Output for 5.5.25
0.004351 seconds
Output for 5.5.24
0.005218 seconds
Output for 5.5.23
0.004837 seconds
Output for 5.5.22
0.004857 seconds
Output for 5.5.21
0.005363 seconds
Output for 5.4.32, 5.5.20
0.006858 seconds
Output for 5.5.19
0.006515 seconds
Output for 5.5.18
0.005919 seconds
Output for 5.5.16
0.010362 seconds
Output for 5.5.15
0.005014 seconds
Output for 5.5.14
0.005800 seconds
Output for 5.5.13
0.005424 seconds
Output for 5.5.12
0.005683 seconds
Output for 5.5.11
0.006874 seconds
Output for 5.5.10
0.006883 seconds
Output for 5.5.9
0.006584 seconds
Output for 5.5.8
0.007265 seconds
Output for 5.5.7
0.005138 seconds
Output for 5.5.6
0.007320 seconds
Output for 5.5.5
0.006805 seconds
Output for 5.5.4
0.006528 seconds
Output for 5.5.3
0.006720 seconds
Output for 5.5.2
0.006704 seconds
Output for 5.5.1
0.005711 seconds
Output for 5.5.0
0.005650 seconds
Output for 5.4.45
0.006506 seconds
Output for 5.4.44
0.007129 seconds
Output for 5.4.43
0.005661 seconds
Output for 5.4.42
0.006879 seconds
Output for 5.4.41
0.006441 seconds
Output for 5.4.40
0.006857 seconds
Output for 5.4.20, 5.4.39
0.006216 seconds
Output for 5.4.38
0.006872 seconds
Output for 5.4.37
0.006620 seconds
Output for 5.4.36
0.005925 seconds
Output for 5.4.35
0.006765 seconds
Output for 5.4.34
0.007170 seconds
Output for 5.4.31
0.005901 seconds
Output for 5.4.30
0.005681 seconds
Output for 5.4.29
0.007366 seconds
Output for 5.4.28
0.005583 seconds
Output for 5.4.27
0.006918 seconds
Output for 5.4.26
0.006795 seconds
Output for 5.4.25
0.006818 seconds
Output for 5.4.24
0.005912 seconds
Output for 5.4.23
0.005887 seconds
Output for 5.4.22
0.007079 seconds
Output for 5.4.21
0.006860 seconds
Output for 5.4.19
0.006590 seconds
Output for 5.4.18
0.006851 seconds
Output for 5.4.17
0.006470 seconds
Output for 5.4.16
0.007128 seconds
Output for 5.4.15
0.006175 seconds
Output for 5.4.14
0.006315 seconds
Output for 5.4.13
0.004556 seconds
Output for 5.4.11
0.006842 seconds
Output for 5.4.10
0.006830 seconds
Output for 5.4.9
0.006475 seconds
Output for 5.4.8
0.006894 seconds
Output for 5.4.7
0.006844 seconds
Output for 5.4.6
0.006757 seconds
Output for 5.4.5
0.006734 seconds
Output for 5.4.4
0.007241 seconds
Output for 5.4.3
0.007208 seconds
Output for 5.4.2
0.004404 seconds
Output for 5.4.1
0.007240 seconds
Output for 5.4.0
0.007052 seconds
Output for 5.3.29
0.010705 seconds
Output for 5.3.28
0.006612 seconds
Output for 5.3.27
0.011086 seconds
Output for 5.3.26
0.007969 seconds
Output for 5.3.25
0.008420 seconds
Output for 5.3.24
0.008238 seconds
Output for 5.3.23
0.007874 seconds
Output for 5.3.22
0.010326 seconds
Output for 5.3.21
0.009802 seconds
Output for 5.3.20
0.009929 seconds
Output for 5.3.19
0.008714 seconds
Output for 5.3.18
0.010265 seconds
Output for 5.3.17
0.010333 seconds
Output for 5.3.16
0.010086 seconds
Output for 5.3.15
0.010672 seconds
Output for 5.3.14
0.009982 seconds
Output for 5.3.13
0.010630 seconds
Output for 5.3.12
0.010560 seconds
Output for 5.3.11
0.011064 seconds
Output for 5.3.10
0.010826 seconds
Output for 5.3.9
0.010531 seconds
Output for 5.3.8
0.011421 seconds
Output for 5.3.7
0.007844 seconds
Output for 5.3.6
0.008933 seconds
Output for 5.3.5
0.006103 seconds
Output for 5.3.4
0.009210 seconds
Output for 5.3.3
0.010721 seconds
Output for 5.3.2
0.010566 seconds
Output for 5.3.1
0.010274 seconds
Output for 5.3.0
0.009648 seconds
Output for 5.2.17
0.009592 seconds
Output for 5.2.16
0.012264 seconds
Output for 5.2.15
0.016492 seconds
Output for 5.2.14
0.016493 seconds
Output for 5.2.13
0.018291 seconds
Output for 5.2.12
0.018773 seconds
Output for 5.2.11
0.014094 seconds
Output for 5.2.10
0.016941 seconds
Output for 5.2.9
0.013982 seconds
Output for 5.2.8
0.018083 seconds
Output for 5.2.7
0.029853 seconds
Output for 5.2.6
0.016122 seconds
Output for 5.2.5
0.016524 seconds
Output for 5.2.4
0.010168 seconds
Output for 5.2.3
0.017516 seconds
Output for 5.2.2
0.014579 seconds
Output for 5.2.1
0.015901 seconds
Output for 5.2.0
0.017687 seconds
Output for 5.1.6
0.018228 seconds
Output for 5.1.5
0.017883 seconds
Output for 5.1.4
0.013972 seconds
Output for 5.1.3
0.015628 seconds
Output for 5.1.2
0.016878 seconds
Output for 5.1.1
0.017980 seconds
Output for 5.1.0
0.016667 seconds
Output for 5.0.5
0.049996 seconds
Output for 5.0.4
0.042828 seconds
Output for 5.0.3
0.040467 seconds
Output for 5.0.2
0.043756 seconds
Output for 5.0.1
0.047343 seconds
Output for 5.0.0
0.051136 seconds
Output for 4.4.9
0.048490 seconds
Output for 4.4.8
0.048090 seconds
Output for 4.4.7
0.038697 seconds
Output for 4.4.6
0.042908 seconds
Output for 4.4.5
0.046514 seconds
Output for 4.4.4
0.046845 seconds
Output for 4.4.3
0.045962 seconds
Output for 4.4.2
0.045748 seconds
Output for 4.4.1
0.043658 seconds
Output for 4.4.0
0.046178 seconds
Output for 4.3.11
0.047877 seconds
Output for 4.3.10
0.024605 seconds
Output for 4.3.9
0.046711 seconds
Output for 4.3.8
0.048680 seconds
Output for 4.3.7
0.031578 seconds
Output for 4.3.6
0.048986 seconds
Output for 4.3.5
0.050856 seconds
Output for 4.3.4
0.042009 seconds
Output for 4.3.3
0.044998 seconds
Output for 4.3.2
0.042127 seconds
Output for 4.3.1
0.048149 seconds
Output for 4.3.0
0.032544 seconds