3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('/ru\.www\./', 'ru.', 'ru.www.gorgany.com');

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.00.0060.00318.94
7.1.100.0030.00717.84
7.1.70.0020.00516.88
7.1.60.0090.01619.17
7.1.50.0060.00816.76
7.1.00.0030.03322.36
7.0.200.0080.00016.88
7.0.140.0000.07722.12
7.0.60.0130.06019.80
7.0.50.0130.04717.88
7.0.40.0070.07720.23
7.0.30.0300.06020.29
7.0.20.0270.04020.00
7.0.10.0130.04720.18
7.0.00.0070.05320.09
5.6.280.0130.06321.12
5.6.210.0030.08720.62
5.6.200.0030.05718.09
5.6.190.0030.04320.27
5.6.180.0130.04720.41
5.6.170.0270.04320.48
5.6.160.0130.06320.40
5.6.150.0000.04318.09
5.6.140.0170.03718.11
5.6.130.0100.04718.21
5.6.120.0030.05321.11
5.6.110.0100.08321.00
5.6.100.0070.06020.95
5.6.90.0000.06320.99
5.6.80.0130.07320.41
5.5.350.0270.07720.34
5.5.340.0070.08017.92
5.5.330.0030.05720.40
5.5.320.0270.05020.29
5.5.310.0230.05020.26
5.5.300.0030.08317.89
5.5.290.0100.08317.95
5.5.280.0070.08320.76
5.5.270.0030.07720.87
5.5.260.0030.07720.88
5.5.250.0070.07720.68
5.5.240.0070.04720.25
5.4.450.0230.04719.26
5.4.440.0270.07019.57
5.4.430.0300.04719.40
5.4.420.0270.05719.54
5.4.410.0400.04719.29
5.4.400.0300.03718.79
5.4.390.0330.06719.09
5.4.380.0270.06718.93
5.4.370.0370.03318.93
5.4.360.0200.04319.13
5.4.350.0330.07019.16
5.4.340.0330.07019.25
5.4.320.0300.07019.06
5.4.310.0370.06719.09
5.4.300.0230.04719.16
5.4.290.0300.07019.08
5.4.280.0270.04718.88
5.4.270.0270.04319.08
5.4.260.0270.07019.03
5.4.250.0170.04719.12
5.4.240.0170.04019.07
5.4.230.0200.04318.78
5.4.220.0130.04019.24
5.4.210.0200.03319.08
5.4.200.0270.03018.92
5.4.190.0170.03719.07
5.4.180.0200.04319.07
5.4.170.0100.04318.80
5.4.160.0170.04019.13
5.4.150.0200.03318.78
5.4.140.0130.04016.47
5.4.130.0100.04316.37
5.4.120.0170.03716.45
5.4.110.0200.03316.23
5.4.100.0200.04716.47
5.4.90.0130.04316.49
5.4.80.0170.03316.29
5.4.70.0200.03316.42
5.4.60.0200.03716.39
5.4.50.0170.03716.39
5.4.40.0170.03316.35
5.4.30.0130.05016.43
5.4.20.0200.03016.17
5.4.10.0230.04316.36
5.4.00.0230.04315.69
5.3.290.0300.04714.60
5.3.280.0130.04014.63
5.3.270.0130.04314.45
5.3.260.0100.04314.55
5.3.250.0170.04014.44
5.3.240.0200.03314.46
5.3.230.0170.03714.43
5.3.220.0200.03314.65
5.3.210.0130.04714.42
5.3.200.0170.04314.51
5.3.190.0170.04314.61
5.3.180.0230.03714.60
5.3.170.0170.03714.40
5.3.160.0200.03714.41
5.3.150.0170.03714.58
5.3.140.0200.03714.50
5.3.130.0230.03314.40
5.3.120.0170.03714.40
5.3.110.0300.02714.41
5.3.100.0170.04713.88
5.3.90.0370.03713.96
5.3.80.0300.07013.92
5.3.70.0300.06713.81
5.3.60.0300.07313.83
5.3.50.0300.03313.98
5.3.40.0270.04313.97
5.3.30.0200.05013.85
5.3.20.0270.04013.54
5.3.10.0370.05713.50
5.3.00.0230.05013.43
5.2.170.0170.04012.11
5.2.160.0200.06312.11
5.2.150.0130.04312.11
5.2.140.0200.03712.11
5.2.130.0300.02712.11
5.2.120.0330.04012.11
5.2.110.0230.06012.11
5.2.100.0200.04312.11
5.2.90.0270.06012.11
5.2.80.0270.06012.11
5.2.70.0200.04712.11
5.2.60.0230.06012.11
5.2.50.0270.05312.11
5.2.40.0200.04712.11
5.2.30.0270.05012.11
5.2.20.0170.03712.11
5.2.10.0270.04712.11
5.2.00.0200.04012.11
5.1.60.0130.03312.11
5.1.50.0300.04312.11
5.1.40.0230.04312.11
5.1.30.0230.05012.11
5.1.20.0270.05012.11
5.1.10.0230.04012.11
5.1.00.0200.04312.11
5.0.50.0130.04712.11
5.0.40.0170.03712.11
5.0.30.0170.04012.11
5.0.20.0130.02312.11
5.0.10.0170.04012.11
5.0.00.0170.05712.11
4.4.90.0070.02312.11
4.4.80.0130.03012.11
4.4.70.0130.03312.11
4.4.60.0070.03012.11
4.4.50.0070.03712.11
4.4.40.0070.04012.11
4.4.30.0100.03712.11
4.4.20.0130.03312.11
4.4.10.0170.01312.11
4.4.00.0170.03712.11
4.3.110.0130.03012.11
4.3.100.0130.02312.11
4.3.90.0070.03712.11
4.3.80.0130.04712.11
4.3.70.0130.03012.11
4.3.60.0100.03312.11
4.3.50.0100.03312.11
4.3.40.0170.04312.11
4.3.30.0070.03712.11
4.3.20.0070.03312.11
4.3.10.0070.02312.11
4.3.00.0070.01712.11