3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urlKey = 'ftrcvgbhnjk-2000-4628-20.html'; if ($result = preg_match('/-\d+-(\d+)\.html.*$/', $urlKey, $matches)) { $result = $matches[1]; } echo $result; var_dump($matches); echo $oldUrlKey;

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.01016.88
8.3.50.0120.00416.84
8.3.40.0040.01118.87
8.3.30.0110.00318.97
8.3.20.0000.00818.98
8.3.10.0000.00820.82
8.3.00.0080.00017.96
8.2.180.0070.01316.75
8.2.170.0110.00722.96
8.2.160.0110.00320.35
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.25
8.2.110.0030.00621.09
8.2.100.0060.00618.16
8.2.90.0030.00619.45
8.2.80.0050.00319.43
8.2.70.0090.00017.75
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0050.00318.22
8.2.30.0000.00818.10
8.2.20.0000.00717.80
8.2.10.0110.00017.90
8.2.00.0090.00017.86
8.1.280.0090.00925.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0050.00522.53
8.1.230.0130.00020.85
8.1.220.0000.00817.79
8.1.210.0040.00418.91
8.1.200.0060.00317.35
8.1.190.0050.00317.18
8.1.180.0080.00018.10
8.1.170.0080.00018.71
8.1.160.0040.00418.80
8.1.150.0040.00418.72
8.1.140.0000.00817.41
8.1.130.0000.00717.85
8.1.120.0000.00817.44
8.1.110.0050.00317.35
8.1.100.0040.00417.44
8.1.90.0050.00217.43
8.1.80.0000.00717.52
8.1.70.0070.00017.51
8.1.60.0030.00517.68
8.1.50.0020.00517.57
8.1.40.0080.00017.63
8.1.30.0030.00517.68
8.1.20.0000.00817.73
8.1.10.0080.00017.71
8.1.00.0020.00517.66
8.0.300.0000.00719.89
8.0.290.0040.00416.88
8.0.280.0000.00718.46
8.0.270.0000.00717.27
8.0.260.0040.00416.98
8.0.250.0040.00417.13
8.0.240.0000.01017.16
8.0.230.0070.00017.05
8.0.220.0020.00517.09
8.0.210.0000.00817.04
8.0.200.0030.00317.07
8.0.190.0000.00716.98
8.0.180.0040.00416.95
8.0.170.0090.00016.93
8.0.160.0000.00816.92
8.0.150.0000.00716.89
8.0.140.0000.01016.89
8.0.130.0000.00513.42
8.0.120.0040.00416.86
8.0.110.0000.00716.88
8.0.100.0000.00717.12
8.0.90.0000.00716.90
8.0.80.0150.00017.06
8.0.70.0070.00016.86
8.0.60.0040.00416.93
8.0.50.0020.00517.04
8.0.30.0130.00617.25
8.0.20.0090.00917.38
8.0.10.0040.00416.96
8.0.00.0120.00816.94
7.4.330.0000.00513.06
7.4.320.0030.00316.64
7.4.300.0000.00716.50
7.4.290.0040.00416.60
7.4.280.0000.00816.50
7.4.270.0030.00316.75
7.4.260.0050.00013.44
7.4.250.0040.00416.79
7.4.240.0040.00416.70
7.4.230.0070.00016.65
7.4.220.0130.00316.65
7.4.210.0070.00816.76
7.4.200.0000.00716.73
7.4.190.0030.00316.45
7.4.160.0150.00616.58
7.4.150.0120.00616.66
7.4.140.0130.00616.68
7.4.130.0080.00916.57
7.4.120.0120.00716.62
7.4.110.0100.00716.68
7.4.100.0120.01216.65
7.4.90.0130.01016.68
7.4.80.0110.01116.79
7.4.70.0160.00016.50
7.4.60.0130.00316.61
7.4.50.0040.00416.56
7.4.40.0080.00416.70
7.4.30.0100.00916.59
7.4.00.0040.01115.06
7.3.330.0030.00313.30
7.3.320.0000.00513.40
7.3.310.0000.00816.32
7.3.300.0030.00316.47
7.3.290.0170.00316.49
7.3.280.0090.00616.45
7.3.270.0070.01016.77
7.3.260.0120.00516.57
7.3.250.0090.00916.48
7.3.240.0050.01116.73
7.3.230.0090.00916.77
7.3.210.0080.01216.64
7.3.200.0090.00919.39
7.3.190.0060.01616.84
7.3.180.0090.01316.38
7.3.170.0150.00616.51
7.3.160.0060.01016.50
7.3.120.0070.00715.31
7.3.10.0110.00016.98
7.3.00.0070.00416.82
7.2.330.0060.01316.56
7.2.320.0150.00616.72
7.2.310.0140.01116.70
7.2.300.0080.00916.59
7.2.290.0090.00916.79
7.2.130.0100.00317.15
7.2.120.0000.01016.90
7.2.110.0040.00416.75
7.2.100.0120.00317.16
7.2.90.0100.00616.91
7.2.80.0040.00417.03
7.2.70.0100.00717.22
7.2.60.0040.00417.02
7.2.50.0040.01116.95
7.2.40.0060.00617.30
7.2.30.0060.00616.98
7.2.20.0060.00617.04
7.2.10.0120.00617.08
7.2.00.0050.00818.22
7.1.250.0000.01216.01
7.1.100.0030.00918.43
7.1.70.0030.00617.15
7.1.60.0030.01319.40
7.1.50.0180.01434.79
7.1.00.0100.06322.32
7.0.200.0030.00517.00
7.0.140.0030.07721.99
7.0.120.0100.06022.12
7.0.60.0100.08019.93
7.0.50.0130.03317.79
7.0.40.0100.07320.21
7.0.30.0200.04720.19
7.0.20.0270.06020.01
7.0.10.0430.06720.18
7.0.00.0130.07720.31
5.6.210.0070.08020.49
5.6.200.0000.04318.19
5.6.190.0070.05720.32
5.6.180.0330.04320.27
5.6.170.0200.04320.44
5.6.160.0070.08720.52
5.6.150.0130.06018.12
5.6.140.0100.04018.12
5.6.130.0030.06318.18
5.6.120.0030.07021.00
5.6.110.0130.06021.11
5.6.100.0130.07721.13
5.6.90.0130.08020.96
5.6.80.0100.03320.42
5.5.350.0300.06320.52
5.5.340.0070.07718.02
5.5.330.0100.07020.13
5.5.320.0070.08020.13
5.5.310.0470.05720.21
5.5.300.0000.04317.93
5.5.290.0100.08317.92
5.5.280.0000.08720.96
5.5.270.0030.07020.73
5.5.260.0070.07320.67
5.5.250.0030.04020.46
5.5.240.0130.06720.11
5.4.450.3930.03319.38
5.4.440.3870.04019.41
5.4.430.4200.03319.45
5.4.420.4300.03319.48
5.4.410.4700.03719.23
5.4.400.0100.07318.81
5.4.390.3830.04319.09
5.4.380.3430.03719.22
5.4.370.3800.03019.25
5.4.360.3670.03718.79
5.4.350.3430.03719.21
5.4.340.3700.04319.09
5.4.320.4630.03019.06
5.4.310.4700.03319.13
5.4.300.4430.03319.08
5.4.290.4700.03718.92
5.4.280.4670.04019.08
5.4.270.4300.04319.05
5.4.260.3770.03018.80
5.4.250.3900.03719.24
5.4.240.3970.03719.15
5.4.230.4000.03018.88
5.4.220.4770.02719.24
5.4.210.4100.04019.26
5.4.200.3900.03019.05
5.4.190.3970.03718.77
5.4.180.3630.04019.13
5.4.170.3970.03719.14
5.4.160.3700.03018.80
5.4.150.4200.04319.11
5.4.140.3630.03316.26
5.4.130.4100.03316.37
5.4.120.3970.03716.32
5.4.110.4070.03316.19
5.4.100.4430.04316.45
5.4.90.4500.03316.42
5.4.80.4430.03716.18
5.4.70.3830.04016.37
5.4.60.3870.03316.41
5.4.50.3830.03716.43
5.4.40.5030.03716.20
5.4.30.3570.03716.04
5.4.20.4930.04316.27
5.4.10.4400.04716.47
5.4.00.3970.03715.63
5.3.290.4200.03714.54
5.3.280.3630.04314.62
5.3.270.4000.03314.48
5.3.260.4000.03314.43
5.3.250.4030.04014.54
5.3.240.3970.03314.64
5.3.230.4030.03714.49
5.3.220.3670.03714.47
5.3.210.3900.04014.50
5.3.200.3670.03014.41
5.3.190.3770.03014.47
5.3.180.3970.03714.41
5.3.170.3900.03314.39
5.3.160.3870.03314.49
5.3.150.4000.04014.46
5.3.140.4330.03314.50
5.3.130.3870.04314.47
5.3.120.4070.04014.38
5.3.110.4600.03714.65
5.3.100.4330.03713.89
5.3.90.3900.03713.95
5.3.80.3700.03314.06
5.3.70.3670.03713.96
5.3.60.3770.04014.00
5.3.50.3830.03313.90
5.3.40.3930.03313.85
5.3.30.3970.03013.76
5.3.20.2770.03713.75
5.3.10.3730.03713.51
5.3.00.3770.03713.43
5.2.170.3130.03010.98
5.2.160.3300.02711.01
5.2.150.3430.03710.98
5.2.140.3370.03310.98
5.2.130.3270.02710.93
5.2.120.3100.03011.26
5.2.110.3030.03011.14
5.2.100.3270.02711.01
5.2.90.3070.03310.99
5.2.80.3200.03710.95
5.2.70.3570.03711.04
5.2.60.3400.02711.14
5.2.50.3070.03010.90
5.2.40.2800.02711.04
5.2.30.2630.03310.91
5.2.20.2430.02710.82
5.2.10.2730.02710.95
5.2.00.3200.03710.80
5.1.60.1070.03010.02
5.1.50.0030.05310.02
5.1.40.0070.03710.02
5.1.30.0030.03010.33
5.1.20.1770.02310.31
5.1.10.3230.02710.20
5.1.00.2970.02310.02
5.0.50.1630.02310.02
5.0.40.0570.01710.02
5.0.30.1130.03010.02
5.0.20.1230.02010.02
5.0.10.1200.02310.02
5.0.00.0870.03010.02
4.4.90.1570.01310.02
4.4.80.1530.01710.02
4.4.70.1630.01710.02
4.4.60.1400.01310.02
4.4.50.1600.01710.02
4.4.40.0000.05010.02
4.4.30.0000.03310.02
4.4.20.1800.01310.02
4.4.10.0800.01710.02
4.4.00.1470.02710.02
4.3.110.1000.01310.02
4.3.100.0730.01010.02
4.3.90.1300.01710.02
4.3.80.1300.01710.02
4.3.70.1130.01310.02
4.3.60.0930.01710.02
4.3.50.1070.01710.02
4.3.40.0930.02310.02
4.3.30.0630.01710.02
4.3.20.0230.01310.02
4.3.10.0300.01710.02
4.3.00.0630.01010.02

preferences:
49.23 ms | 401 KiB | 5 Q