3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{Feel free to|Twenty-four hours a day|Do|Then|You can} stop on by, or {contact us|e mail us|call us|e-mail us|email us} about {your needs|your requirements|your preferences|the needs you have|your family needs}. {We look forward|Good quality} to {hearing from|talking with|listening to|meeting up with} you!'; echo preg_replace('/([^{}]*){[^|]+\|([^|]*).*?}([^{}]*)/', '$1$2$3', $str);

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.0170.00318.68
8.3.50.0120.00522.11
8.3.40.0100.00718.79
8.3.30.0070.00718.96
8.3.20.0000.00720.24
8.3.10.0000.00821.84
8.3.00.0030.00522.36
8.2.180.0140.00716.63
8.2.170.0070.00722.96
8.2.160.0140.00019.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0100.00326.16
8.2.120.0040.00419.50
8.2.110.0030.00619.45
8.2.100.0080.00417.82
8.2.90.0000.00819.23
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0070.00517.55
8.2.50.0090.00018.10
8.2.40.0030.00618.22
8.2.30.0040.00418.09
8.2.20.0000.00717.72
8.2.10.0030.00517.78
8.2.00.0040.00417.83
8.1.280.0110.00425.92
8.1.270.0040.00422.14
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.72
8.1.230.0000.01117.83
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.25
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0090.00018.68
8.1.160.0020.00521.89
8.1.150.0040.00418.74
8.1.140.0030.00717.42
8.1.130.0000.00717.81
8.1.120.0050.00217.61
8.1.110.0040.00417.50
8.1.100.0070.00017.58
8.1.90.0000.00717.59
8.1.80.0030.00517.48
8.1.70.0070.00017.51
8.1.60.0000.00817.77
8.1.50.0030.00617.58
8.1.40.0000.00717.54
8.1.30.0050.00317.71
8.1.20.0080.00017.74
8.1.10.0000.00817.59
8.1.00.0000.00817.61
8.0.300.0000.00718.77
8.0.290.0000.00816.88
8.0.280.0000.00718.39
8.0.270.0020.00517.35
8.0.260.0040.00416.98
8.0.250.0080.00017.08
8.0.240.0000.00717.09
8.0.230.0040.00417.02
8.0.220.0050.00216.89
8.0.210.0000.00716.91
8.0.200.0060.00017.03
8.0.190.0040.00417.08
8.0.180.0000.00817.06
8.0.170.0000.00816.85
8.0.160.0060.00316.91
8.0.150.0070.00317.04
8.0.140.0030.00616.90
8.0.130.0070.00013.40
8.0.120.0040.00416.97
8.0.110.0000.00716.94
8.0.100.0080.00016.80
8.0.90.0000.00716.85
8.0.80.0040.01416.98
8.0.70.0040.00416.86
8.0.60.0050.00217.02
8.0.50.0040.00416.98
8.0.30.0120.00817.17
8.0.20.0130.00817.40
8.0.10.0040.00416.98
8.0.00.0060.01216.82
7.4.330.0020.00215.07
7.4.320.0000.00616.68
7.4.300.0060.00016.76
7.4.290.0040.00416.61
7.4.280.0070.00016.64
7.4.270.0060.00016.77
7.4.260.0080.00416.67
7.4.250.0030.00616.62
7.4.240.0020.00616.65
7.4.230.0000.00716.75
7.4.220.0060.01616.61
7.4.210.0090.00716.77
7.4.200.0040.00416.64
7.4.190.0000.00716.89
7.4.160.0060.00916.77
7.4.150.0040.01417.40
7.4.140.0100.01217.86
7.4.130.0050.01316.61
7.4.120.0080.01016.62
7.4.110.0090.01316.64
7.4.100.0110.00616.72
7.4.90.0130.00316.61
7.4.80.0120.00919.39
7.4.70.0130.00516.46
7.4.60.0120.00616.47
7.4.50.0000.00816.55
7.4.40.0100.00322.77
7.4.30.0110.00616.66
7.4.00.0070.01015.10
7.3.330.0020.00213.08
7.3.320.0020.00313.15
7.3.310.0070.00016.26
7.3.300.0000.00616.33
7.3.290.0040.01016.25
7.3.280.0100.00816.36
7.3.270.0140.00417.40
7.3.260.0100.01016.28
7.3.250.0070.01016.53
7.3.240.0060.01016.39
7.3.230.0100.00716.68
7.3.210.0150.00316.54
7.3.200.0100.00719.39
7.3.190.0070.01016.61
7.3.180.0030.01316.21
7.3.170.0100.01016.39
7.3.160.0060.00916.53
7.3.120.0050.01114.90
7.3.110.0080.00715.06
7.3.100.0050.01014.88
7.3.90.0020.01115.06
7.3.80.0110.00514.91
7.3.70.0090.00814.68
7.3.60.0030.00914.88
7.3.50.0090.00514.95
7.3.40.0050.00814.88
7.3.30.0060.00814.96
7.3.20.0090.00516.63
7.3.10.0070.00716.75
7.3.00.0050.01016.63
7.2.330.0150.00416.65
7.2.320.0050.01216.77
7.2.310.0100.01016.79
7.2.300.0120.00916.69
7.2.290.0060.00916.73
7.2.240.0050.01015.02
7.2.230.0070.00514.92
7.2.220.0060.01114.98
7.2.210.0070.00715.08
7.2.200.0050.00815.00
7.2.190.0060.01115.13
7.2.180.0060.00914.98
7.2.170.0020.01115.09
7.2.160.0030.00914.93
7.2.150.0040.00716.96
7.2.140.0060.01017.03
7.2.130.0040.00917.07
7.2.120.0040.01116.98
7.2.110.0080.00516.98
7.2.100.0050.00816.83
7.2.90.0070.00917.05
7.2.80.0070.00917.00
7.2.70.0030.00916.83
7.2.60.0060.00916.96
7.2.50.0080.00816.89
7.2.40.0060.00817.00
7.2.30.0050.01216.90
7.2.20.0050.01017.09
7.2.10.0020.01316.98
7.2.00.0070.00817.82
7.1.330.0040.00915.85
7.1.320.0020.01015.99
7.1.310.0070.00715.81
7.1.300.0090.00515.75
7.1.290.0060.00816.10
7.1.280.0050.00915.84
7.1.270.0110.00515.86
7.1.260.0030.01215.85
7.1.250.0110.00515.97
7.1.200.0060.00915.67
7.1.100.0030.00618.41
7.1.70.0060.00317.27
7.1.60.0130.00719.82
7.1.50.0130.00717.23
7.1.00.0030.07322.50
7.0.200.0000.00816.96
7.0.140.0000.07022.00
7.0.60.0270.08020.04
7.0.50.0070.06017.91
7.0.40.0030.05720.25
7.0.30.0130.04720.22
7.0.20.0470.06720.04
7.0.10.0070.08720.04
7.0.00.0030.09320.01
5.6.280.0000.07721.09
5.6.210.0100.08320.51
5.6.200.0130.08018.12
5.6.190.0070.04720.57
5.6.180.0230.06320.77
5.6.170.0300.06720.50
5.6.160.0030.09020.48
5.6.150.0070.08018.18
5.6.140.0130.07718.17
5.6.130.0070.08018.18
5.6.120.0070.04021.00
5.6.110.0030.04321.04
5.6.100.0000.04720.98
5.6.90.0130.05721.11
5.6.80.0030.08720.39
5.5.350.0170.08320.46
5.5.340.0030.04018.03
5.5.330.0070.06720.19
5.5.320.0430.04320.21
5.5.310.0330.06720.31
5.5.300.0100.07717.92
5.5.290.0170.06718.00
5.5.280.0030.08320.86
5.5.270.0130.06720.83
5.5.260.0030.07320.88
5.5.250.0100.05720.58
5.5.240.0100.04020.18
5.4.450.3570.03719.33
5.4.440.3970.04319.48
5.4.430.3830.04019.19
5.4.420.4030.03319.39
5.4.410.3870.03019.36
5.4.400.4170.03719.16
5.4.390.4030.05018.90
5.4.380.4100.03318.94
5.4.370.3870.03319.16
5.4.360.4030.03719.16
5.4.350.3700.03719.16
5.4.340.5370.03319.08
5.4.320.4000.04019.04
5.4.310.3570.04019.16
5.4.300.4370.03318.92
5.4.290.3970.03718.87
5.4.280.3700.03319.16
5.4.270.3730.03719.06
5.4.260.4700.03318.86
5.4.250.4200.04719.25
5.4.240.3470.04719.15
5.4.230.3670.03718.92
5.4.220.3530.04319.16
5.4.210.3630.03318.91
5.4.200.3900.03318.88
5.4.190.3930.04019.15
5.4.180.4370.04018.98
5.4.170.3800.04018.93
5.4.160.3830.04019.14
5.4.150.4400.03018.97
5.4.140.4600.03716.35
5.4.130.4230.04016.25
5.4.120.4530.04016.38
5.4.110.2000.04716.35
5.4.100.3430.02716.49
5.4.90.2770.03716.13
5.4.80.0030.04016.30
5.4.70.2100.04016.34
5.4.60.3370.03316.43
5.4.50.2930.03716.13
5.4.40.3530.04016.51
5.4.30.3370.03316.46
5.4.20.3030.02716.38
5.4.10.3230.03016.42
5.4.00.4470.04015.68
5.3.290.3900.03714.64
5.3.280.4070.03714.39
5.3.270.3830.03714.55
5.3.260.3500.04314.53
5.3.250.4600.03714.48
5.3.240.4470.04014.53
5.3.230.4170.04014.54
5.3.220.4600.04014.48
5.3.210.4370.03714.52
5.3.200.2970.03014.44
5.3.190.3170.03314.50
5.3.180.0000.03714.50
5.3.170.0100.03014.50
5.3.160.3870.04014.35
5.3.150.3570.03014.45
5.3.140.3370.04314.49
5.3.130.3400.03714.48
5.3.120.2670.03314.55
5.3.110.3300.04014.49
5.3.100.4100.03314.00
5.3.90.3900.03713.94
5.3.80.3870.03713.98
5.3.70.3930.03013.85
5.3.60.3930.03713.90
5.3.50.3870.03313.96
5.3.40.0070.04314.04
5.3.30.0070.07313.85
5.3.20.3930.04013.63
5.3.10.4230.03713.47
5.3.00.4200.03713.57
5.2.170.3200.02711.04
5.2.160.3400.03011.09
5.2.150.0100.04711.04
5.2.140.0800.05011.08
5.2.130.3630.03311.09
5.2.120.3570.03010.98
5.2.110.3730.02711.18
5.2.100.3930.02711.00
5.2.90.4030.02711.04
5.2.80.3970.02311.03
5.2.70.3900.03010.99
5.2.60.4100.03311.04
5.2.50.3770.03010.83
5.2.40.2700.02710.99
5.2.30.2600.02710.90
5.2.20.2670.03010.91
5.2.10.2570.02710.86
5.2.00.2030.03010.71
5.1.60.2470.0239.94
5.1.50.2430.02710.03
5.1.40.2470.03010.14
5.1.30.2800.01710.21
5.1.20.1830.03010.43
5.1.10.3130.0239.96
5.1.00.3230.03310.08
5.0.50.1800.0208.55
5.0.40.1770.0208.48
5.0.30.1870.0308.06
5.0.20.1430.0178.16
5.0.10.1400.0208.09
5.0.00.1630.0308.13
4.4.90.1770.0135.93
4.4.80.1800.0175.93
4.4.70.1570.0175.93
4.4.60.1500.0175.93
4.4.50.1370.0205.93
4.4.40.1400.0235.93
4.4.30.1500.0135.93
4.4.20.1430.0205.93
4.4.10.1830.0135.93
4.4.00.1830.0305.93
4.3.110.1430.0175.93
4.3.100.1670.0175.93
4.3.90.1570.0175.93
4.3.80.1370.0235.93
4.3.70.1470.0135.93
4.3.60.1170.0175.93
4.3.50.1730.0175.93
4.3.40.1500.0335.93
4.3.30.0630.0175.93
4.3.20.0670.0135.93
4.3.10.0730.0175.93
4.3.00.0700.0175.93

preferences:
41.64 ms | 401 KiB | 5 Q