3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = ' test.ru/catalog/holodilniki/3574_blabl232a/ test.ru/catalog/holodilniki/3574&chto2323to/ test.ru/catalog/holodilniki/3574?lalala/ '; echo preg_replace('/\d+\K\pP[^\/]+\/$/m', '/', $string);

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.70.0160.00616.63
8.3.60.0090.00618.52
8.3.50.0090.00616.51
8.3.40.0130.00618.83
8.3.30.0150.00018.96
8.3.20.0040.00422.43
8.3.10.0000.00823.61
8.3.00.0080.00023.48
8.2.190.0040.01118.31
8.2.180.0140.00718.66
8.2.170.0060.00922.96
8.2.160.0140.00022.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00326.16
8.2.110.0030.00722.38
8.2.100.0040.00818.03
8.2.90.0000.00822.63
8.2.80.0000.00817.97
8.2.70.0090.00017.93
8.2.60.0040.00418.16
8.2.50.0060.00318.10
8.2.40.0060.00318.35
8.2.30.0040.00418.27
8.2.20.0070.00018.09
8.2.10.0030.00619.14
8.2.00.0030.00619.13
8.1.280.0110.00725.92
8.1.270.0030.00620.68
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00022.50
8.1.230.0090.00320.91
8.1.220.0040.00417.77
8.1.210.0060.00318.77
8.1.200.0000.00817.48
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0100.00218.22
8.1.160.0000.00718.96
8.1.150.0000.00719.11
8.1.140.0000.00720.85
8.1.130.0000.00717.55
8.1.120.0040.00417.55
8.1.110.0000.00717.59
8.1.100.0040.00417.48
8.1.90.0040.00417.44
8.1.80.0040.00417.43
8.1.70.0070.00017.45
8.1.60.0090.00317.69
8.1.50.0000.00817.57
8.1.40.0050.00317.63
8.1.30.0000.00817.59
8.1.20.0030.00517.75
8.1.10.0030.00617.70
8.1.00.0030.00517.45
8.0.300.0040.00419.91
8.0.290.0040.00416.88
8.0.280.0000.00718.34
8.0.270.0030.00318.07
8.0.260.0030.00316.88
8.0.250.0000.00717.03
8.0.240.0040.00416.97
8.0.230.0030.00316.91
8.0.220.0020.00517.01
8.0.210.0040.00416.93
8.0.200.0070.00017.02
8.0.190.0000.00717.00
8.0.180.0060.00316.89
8.0.170.0060.00316.95
8.0.160.0000.00717.05
8.0.150.0000.00716.98
8.0.140.0000.00717.02
8.0.130.0060.00013.46
8.0.120.0040.00416.96
8.0.110.0000.00716.95
8.0.100.0040.00417.01
8.0.90.0080.00016.98
8.0.80.0040.01117.10
8.0.70.0080.00017.02
8.0.60.0060.00317.00
8.0.50.0050.00216.98
8.0.30.0190.01517.39
8.0.20.0070.01117.12
8.0.10.0000.00816.99
8.0.00.0060.01716.79
7.4.330.0000.00516.79
7.4.320.0040.00416.82
7.4.300.0070.00016.69
7.4.290.0040.00416.81
7.4.280.0040.00416.71
7.4.270.0080.00016.73
7.4.260.0000.00513.50
7.4.250.0030.00316.68
7.4.240.0020.00516.66
7.4.230.0050.00316.70
7.4.220.0020.00516.83
7.4.210.0070.00716.72
7.4.200.0050.00216.84
7.4.140.0160.00817.86
7.4.130.0150.00716.97
7.4.120.0160.00516.53
7.4.110.0130.00316.63
7.4.100.0100.01016.70
7.4.90.0140.00716.57
7.4.80.0070.01119.39
7.4.70.0030.01316.65
7.4.60.0030.01416.52
7.4.50.0000.01316.52
7.4.40.0080.00816.72
7.4.10.0090.00616.45
7.4.00.0030.01216.76
7.3.330.0030.00316.30
7.3.320.0000.00613.20
7.3.310.0030.00316.12
7.3.300.0000.00716.20
7.3.290.0110.00616.29
7.3.260.0170.00016.47
7.3.240.0080.01016.56
7.3.230.0120.00616.34
7.3.210.0060.01016.63
7.3.200.0120.00316.36
7.3.190.0090.01216.54
7.3.180.0150.00016.61
7.3.170.0000.01716.51
7.3.160.0170.00316.32
7.3.130.0090.00616.50
7.3.120.0000.01416.47
7.3.110.0110.00316.55
7.3.100.0040.01116.31
7.3.90.0150.00316.68
7.3.80.0120.00416.67
7.3.70.0070.01016.49
7.3.60.0090.00616.45
7.3.50.0060.00916.41
7.3.40.0000.01316.26
7.3.30.0060.00916.48
7.3.20.0130.00316.29
7.3.10.0060.01016.39
7.3.00.0000.01416.55
7.2.330.0150.00316.51
7.2.320.0060.01216.55
7.2.310.0100.00616.66
7.2.300.0070.01016.68
7.2.290.0120.00316.50
7.2.260.0030.01216.58
7.2.250.0110.00316.57
7.2.240.0060.00916.65
7.2.230.0100.00716.59
7.2.220.0080.00816.71
7.2.210.0130.00316.52
7.2.200.0080.01416.70
7.2.190.0060.00916.75
7.2.180.0000.01416.59
7.2.170.0000.01416.57
7.2.160.0120.00316.54
7.2.150.0070.01016.55
7.2.140.0040.01216.68
7.2.130.0080.00816.61
7.2.120.0100.00616.59
7.2.110.0120.00616.77
7.2.100.0090.00616.61
7.2.90.0040.01216.69
7.2.80.0040.01116.68
7.2.70.0130.00316.83
7.2.60.0050.01116.76
7.2.50.0080.00816.56
7.2.40.0080.00816.57
7.2.30.0070.00716.76
7.2.20.0100.00616.61
7.2.10.0080.00816.59
7.2.00.0060.00916.68

preferences:
20.19 ms | 401 KiB | 5 Q