3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_replace('http://www.naver.com','naver.com',''); ?>
based on Qo9Ir

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.60.0030.01016.71
7.2.00.0040.00819.13
7.1.200.0070.00715.60
7.1.100.0050.00817.79
7.1.70.0000.00716.99
7.1.60.0070.01119.22
7.1.50.0070.01416.22
7.1.00.0030.07722.36
7.0.200.0000.00716.36
7.0.140.0000.03322.15
7.0.60.0030.08319.81
7.0.50.0130.06017.89
7.0.40.0100.08320.08
7.0.30.0370.07320.16
7.0.20.0170.04720.16
7.0.10.0100.06020.15
7.0.00.0100.03720.01
5.6.280.0100.06720.76
5.6.210.0030.06320.64
5.6.200.0000.04318.13
5.6.190.0030.04720.45
5.6.180.0300.07720.57
5.6.170.0400.06320.36
5.6.160.0070.08020.49
5.6.150.0070.05018.16
5.6.140.0030.07718.22
5.6.130.0100.06018.11
5.6.120.0100.07320.99
5.6.110.0070.06721.12
5.6.100.0070.05320.98
5.6.90.0130.08020.94
5.6.80.0130.07020.40
5.6.70.0370.06720.49
5.5.350.0030.07320.34
5.5.340.0130.04017.98
5.5.330.0170.07320.21
5.5.320.0230.06020.50
5.5.310.0230.08320.34
5.5.300.0130.08017.91
5.5.290.0030.05017.97
5.5.280.0070.08020.86
5.5.270.0070.04020.66
5.5.260.0170.07720.66
5.5.250.0030.07320.45
5.5.240.0000.06720.15
5.4.450.0330.06319.23
5.4.440.0330.06019.44
5.4.430.0030.06019.51
5.4.420.0770.05719.41
5.4.410.0500.06319.29
5.4.400.0870.06319.22
5.4.390.0770.05319.25
5.4.380.0130.05718.62
5.4.370.0170.05318.68
5.4.360.0130.06018.78
5.4.350.0270.05318.57
5.4.340.0170.05318.57
5.4.320.0170.05318.77
5.4.310.0200.04718.48
5.4.300.0130.05318.44
5.4.290.0230.04718.67
5.4.280.0230.04718.67
5.4.270.0170.05318.64
5.4.260.0230.05018.48
5.4.250.0270.04318.52
5.4.240.0100.06318.62
5.4.230.0130.05718.49
5.4.220.0200.05318.67
5.4.210.0200.05018.51
5.4.200.0170.04716.56
5.4.190.0200.04718.60
5.4.180.0170.05318.67
5.4.170.0170.05318.47
5.4.160.0170.05018.48
5.4.150.0230.04718.60
5.4.140.0130.05316.09
5.4.130.0130.05016.25
5.4.120.0170.04716.05
5.4.110.0200.04316.04
5.4.100.0130.05316.16
5.4.90.0100.05716.23
5.4.80.0270.04716.14
5.4.70.0170.05016.16
5.4.60.0100.05316.29
5.4.50.0070.05716.13
5.4.40.0170.05016.23
5.4.30.0270.04016.13
5.4.20.0270.04016.20
5.4.10.0200.04316.18
5.4.00.0030.06015.56
5.3.290.0130.06314.66
5.3.280.0100.05314.57
5.3.270.0170.05314.51
5.3.260.0130.05714.70
5.3.250.0170.05014.56
5.3.240.0130.05714.70
5.3.230.0170.05014.59
5.3.220.0270.05714.62
5.3.210.0170.05314.66
5.3.200.0070.06014.56
5.3.190.0130.05314.59
5.3.180.0330.03014.61
5.3.170.0170.04714.50
5.3.160.0130.05314.55
5.3.150.0230.04714.56
5.3.140.0100.05714.48
5.3.130.0100.06014.62
5.3.120.0030.06714.45
5.3.110.0170.05314.52
5.3.100.0230.04313.92
5.3.90.0100.05714.00
5.3.80.0170.05013.95
5.3.70.0130.05313.95
5.3.60.0100.05714.09
5.3.50.0200.04313.86
5.3.40.0030.06013.97
5.3.30.0100.05313.82
5.3.20.0130.05013.78
5.3.10.0170.04713.59
5.3.00.0230.04313.58
5.2.170.0130.04311.10
5.2.160.0130.04011.11
5.2.150.0200.03311.18
5.2.140.0030.05011.07
5.2.130.0100.04011.14
5.2.120.0130.04311.15
5.2.110.0130.04011.05
5.2.100.0030.04711.16
5.2.90.0100.04311.02
5.2.80.0170.03711.12
5.2.70.0100.04311.13
5.2.60.0130.04011.01
5.2.50.0030.05011.02
5.2.40.0100.04710.96
5.2.30.0100.04311.02
5.2.20.0070.04310.99
5.2.10.0170.03310.95
5.2.00.0230.04010.72
5.1.60.0100.03310.04
5.1.50.0100.03310.10
5.1.40.0130.03010.07
5.1.30.0100.03710.36
5.1.20.0130.03310.39
5.1.10.0100.03310.06
5.1.00.0100.04310.08
5.0.50.0130.0238.59
5.0.40.0070.0278.45
5.0.30.0000.0508.23
5.0.20.0100.0238.32
5.0.10.0070.0278.29
5.0.00.0170.0338.33
4.4.90.0070.0235.90
4.4.80.0130.0205.85
4.4.70.0030.0235.91
4.4.60.0070.0205.89
4.4.50.0100.0205.89
4.4.40.0100.0375.90
4.4.30.0070.0205.81
4.4.20.0030.0235.97
4.4.10.0070.0205.98
4.4.00.0100.0305.85
4.3.110.0030.0235.83
4.3.100.0070.0205.86
4.3.90.0070.0205.86
4.3.80.0070.0335.83
4.3.70.0030.0235.86
4.3.60.0000.0235.86
4.3.50.0030.0275.79
4.3.40.0070.0335.75
4.3.30.0030.0234.67
4.3.20.0030.0234.53
4.3.10.0070.0204.47
4.3.00.0100.0277.76