3v4l.org

run code in 300+ PHP versions simultaneously
<?php $patterns[0] = "/{0}/"; $patterns[1] = "/{1}/"; $replacements[0] = 'Динамо Киев'; $replacements[1] = '87'; $resultGoal = preg_replace($patterns, $replacements, 'Первый гол: {0} на {1} мин.'); echo $resultGoal;

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0100.01018.43
8.3.50.0100.00921.08
8.3.40.0070.00718.65
8.3.30.0110.00718.89
8.3.20.0000.00720.34
8.3.10.0030.00522.14
8.3.00.0040.00422.39
8.2.180.0150.00617.13
8.2.170.0110.00322.96
8.2.160.0070.00719.20
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0120.00826.16
8.2.120.0100.00619.66
8.2.110.0090.01122.08
8.2.100.0080.00319.28
8.2.90.0050.00319.34
8.2.80.0000.00719.25
8.2.70.0060.00317.50
8.2.60.0060.00317.93
8.2.50.0050.00318.07
8.2.40.0040.00418.09
8.2.30.0040.00418.01
8.2.20.0030.00617.88
8.2.10.0000.00817.82
8.2.00.0040.00717.81
8.1.280.0170.00025.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0000.00928.09
8.1.240.0100.01024.02
8.1.230.0060.00619.15
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0040.00417.47
8.1.190.0000.00817.54
8.1.180.0000.00818.50
8.1.170.0040.00418.59
8.1.160.0030.00322.14
8.1.150.0000.00818.57
8.1.140.0040.00417.30
8.1.130.0030.00317.86
8.1.120.0000.00817.47
8.1.110.0000.00817.45
8.1.100.0030.00517.41
8.1.90.0030.00517.43
8.1.80.0070.00017.39
8.1.70.0070.00017.39
8.1.60.0000.00917.51
8.1.50.0050.00217.48
8.1.40.0000.00717.51
8.1.30.0050.00317.50
8.1.20.0000.00817.56
8.1.10.0070.00017.54
8.1.00.0030.00617.59
8.0.300.0000.00718.77
8.0.290.0050.00317.15
8.0.280.0030.00318.45
8.0.270.0030.00317.14
8.0.260.0000.00616.86
8.0.250.0040.00417.06
8.0.240.0000.00817.03
8.0.230.0070.00016.95
8.0.220.0030.00316.82
8.0.210.0040.00416.88
8.0.200.0000.00616.82
8.0.190.0050.00216.86
8.0.180.0070.00016.97
8.0.170.0080.00016.81
8.0.160.0000.00716.76
8.0.150.0000.00816.84
8.0.140.0000.00816.79
8.0.130.0030.00313.31
8.0.120.0040.00416.86
8.0.110.0030.00516.80
8.0.100.0040.00416.76
8.0.90.0040.00416.90
8.0.80.0100.01016.87
8.0.70.0000.00716.85
8.0.60.0000.00716.88
8.0.50.0000.00716.77
8.0.30.0100.00817.09
8.0.20.0120.00717.41
8.0.10.0070.00016.83
8.0.00.0070.01016.79
7.4.330.0020.00215.00
7.4.320.0040.00416.39
7.4.300.0000.00616.59
7.4.290.0000.00716.50
7.4.280.0040.00416.63
7.4.270.0060.00016.66
7.4.260.0030.00316.52
7.4.250.0030.00516.62
7.4.240.0070.00016.60
7.4.230.0070.00016.41
7.4.220.0090.00916.70
7.4.210.0070.00816.47
7.4.200.0030.00316.71
7.4.190.0000.00716.57
7.4.160.0100.00716.59
7.4.150.0080.01117.40
7.4.140.0080.00817.86
7.4.130.0100.00716.63
7.4.120.0080.00816.56
7.4.110.0130.00616.48
7.4.100.0060.01216.58
7.4.90.0070.01016.55
7.4.80.0080.00819.39
7.4.70.0120.00616.42
7.4.60.0080.00816.63
7.4.50.0000.00816.33
7.4.40.0000.01222.77
7.4.30.0070.01016.65
7.4.00.0120.00314.78
7.3.330.0000.00513.13
7.3.320.0000.00613.28
7.3.310.0030.00316.27
7.3.300.0030.00316.42
7.3.290.0060.00916.42
7.3.280.0050.01116.40
7.3.270.0070.01017.40
7.3.260.0120.00916.34
7.3.250.0130.00316.48
7.3.240.0120.00416.55
7.3.230.0110.01416.46
7.3.210.0080.00816.62
7.3.200.0140.00416.51
7.3.190.0170.00416.40
7.3.180.0060.01216.46
7.3.170.0120.00416.34
7.3.160.0090.00716.38
7.3.120.0040.00414.67
7.2.330.0000.01716.55
7.2.320.0070.01016.65
7.2.310.0090.01216.39
7.2.300.0100.01316.71
7.2.290.0160.00816.53
7.2.00.0040.00819.66
7.1.100.0750.01316.41
7.1.70.0070.00016.97
7.1.60.0130.00719.82
7.1.50.0070.01716.86
7.1.00.0100.05022.36
7.0.200.0000.01016.81
7.0.140.0030.07722.08
7.0.60.0070.04021.81
7.0.50.0070.08017.81
7.0.40.0200.07720.20
7.0.30.0300.07320.21
7.0.20.0330.07720.02
7.0.10.0030.07720.01
7.0.00.0070.03720.33
5.6.280.0030.07320.81
5.6.210.0030.08320.64
5.6.200.0100.07718.12
5.6.190.0070.04020.41
5.6.180.0530.07020.35
5.6.170.0330.07020.33
5.6.160.0070.04020.49
5.6.150.0000.04718.16
5.6.140.0030.04018.22
5.6.130.0000.05318.21
5.6.120.0070.07021.14
5.6.110.0030.06020.90
5.6.100.0170.03320.88
5.6.90.0070.05320.98
5.6.80.0030.06320.52
5.5.350.0270.07320.43
5.5.340.0100.05317.97
5.5.330.0100.04320.36
5.5.320.0130.07720.32
5.5.310.0270.03020.20
5.5.300.0130.07017.91
5.5.290.0030.06318.00
5.5.280.0070.03720.88
5.5.270.0200.07320.75
5.5.260.0100.06320.66
5.5.250.0170.06720.58
5.5.240.0170.07320.27
5.4.450.4070.04319.49
5.4.440.3770.03719.32
5.4.430.3670.04019.32
5.4.420.3930.03719.48
5.4.410.3900.04019.46
5.4.400.3900.03319.04
5.4.390.3670.03019.20
5.4.380.4170.04019.06
5.4.370.3730.03719.13
5.4.360.4600.04719.13
5.4.350.3670.03318.97
5.4.340.4670.03318.87
5.4.320.4100.04319.16
5.4.310.4100.04319.26
5.4.300.3870.04019.17
5.4.290.4000.02719.13
5.4.280.3970.03019.19
5.4.270.3900.04019.16
5.4.260.4000.04718.97
5.4.250.3630.03718.92
5.4.240.3900.03718.91
5.4.230.3770.03719.15
5.4.220.3970.04318.96
5.4.210.4170.03318.99
5.4.200.4170.04319.13
5.4.190.4030.02718.86
5.4.180.4170.04019.13
5.4.170.4700.03019.15
5.4.160.4500.04319.14
5.4.150.4600.03718.90
5.4.140.4030.04316.41
5.4.130.4100.03016.31
5.4.120.3630.03716.23
5.4.110.3600.03716.46
5.4.100.3630.03316.33
5.4.90.3730.03016.46
5.4.80.3700.04016.23
5.4.70.3570.04316.45
5.4.60.3570.04016.10
5.4.50.3900.03316.18
5.4.40.4470.03716.39
5.4.30.3630.03716.46
5.4.20.4000.03016.35
5.4.10.0030.04716.54
5.4.00.0100.06715.84
5.3.290.4670.03314.64
5.3.280.4070.03014.54
5.3.270.4370.04014.48
5.3.260.4630.03714.55
5.3.250.4300.04314.58
5.3.240.3900.03014.50
5.3.230.3370.04314.56
5.3.220.3670.03714.50
5.3.210.3770.03714.48
5.3.200.3670.03314.38
5.3.190.3670.03714.50
5.3.180.3600.04014.65
5.3.170.3730.02714.38
5.3.160.3730.04014.48
5.3.150.3570.03314.49
5.3.140.4130.03314.45
5.3.130.4370.03714.34
5.3.120.4630.04314.51
5.3.110.0030.07714.47
5.3.100.3100.04713.96
5.3.90.3870.03013.95
5.3.80.4100.03313.94
5.3.70.3730.03713.94
5.3.60.3830.03313.98
5.3.50.3900.04013.89
5.3.40.3800.03713.73
5.3.30.4530.03313.85
5.3.20.4530.03013.65
5.3.10.4530.03713.58
5.3.00.4430.03313.47
5.2.170.3200.03311.04
5.2.160.3370.03311.00
5.2.150.3500.03711.00
5.2.140.3830.03011.04
5.2.130.3700.03010.98
5.2.120.3770.02711.09
5.2.110.3700.02310.94
5.2.100.3700.03011.11
5.2.90.2900.03010.96
5.2.80.0130.05710.99
5.2.70.0130.05311.25
5.2.60.0070.05711.03
5.2.50.2870.02710.95
5.2.40.2800.03010.87
5.2.30.3230.03310.96
5.2.20.3200.02710.90
5.2.10.2630.02710.85
5.2.00.2430.02310.70
5.1.60.2470.02010.07
5.1.50.2700.0239.95
5.1.40.2900.0179.88
5.1.30.2930.02710.29
5.1.20.2700.02710.23
5.1.10.2430.02710.04
5.1.00.2400.02310.08
5.0.50.1200.0208.49
5.0.40.1600.0208.37
5.0.30.1430.0338.20
5.0.20.1630.0208.34
5.0.10.1630.0278.22
5.0.00.1730.0308.14
4.4.90.0000.0305.82
4.4.80.0000.0235.82
4.4.70.1700.0175.82
4.4.60.1800.0175.88
4.4.50.1270.0175.86
4.4.40.1770.0305.85
4.4.30.1470.0175.85
4.4.20.0930.0135.89
4.4.10.1470.0175.92
4.4.00.1470.0275.85
4.3.110.1230.0135.85
4.3.100.1430.0175.85
4.3.90.1800.0135.85
4.3.80.1800.0275.85
4.3.70.1770.0135.85
4.3.60.1800.0135.85
4.3.50.1400.0175.85
4.3.40.1470.0235.85
4.3.30.0730.0175.85
4.3.20.0970.0235.85
4.3.10.0970.0175.85
4.3.00.0830.0175.85

preferences:
40.17 ms | 401 KiB | 5 Q