3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urlKey = 'ftrcvgbhnjk-2000-4628-20.html'; $oldUrlKey = null; if (preg_match('/^.*-[0-9]+(-[0-9]+)\.html$/', $urlKey, $matches)) { $oldUrlKey = str_replace($matches[1], '', $urlKey); $index[$oldUrlKey] = $data; } 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.0140.00718.68
8.3.50.0120.00816.50
8.3.40.0100.01318.97
8.3.30.0150.00019.09
8.3.20.0100.01018.98
8.3.10.0130.00620.73
8.3.00.0100.00017.88
8.2.180.0040.01216.75
8.2.170.0090.00622.96
8.2.160.0040.01122.33
8.2.150.0030.00624.18
8.2.140.0030.00524.66
8.2.130.0030.00726.16
8.2.120.0040.00420.21
8.2.110.0060.00321.16
8.2.100.0070.00418.16
8.2.90.0040.00419.38
8.2.80.0040.00418.03
8.2.70.0040.00417.84
8.2.60.0000.00817.93
8.2.50.0000.00919.85
8.2.40.0040.00419.92
8.2.30.0060.00318.23
8.2.20.0040.00417.89
8.2.10.0040.00418.13
8.2.00.0040.00417.93
8.1.280.0090.00625.92
8.1.270.0070.00023.99
8.1.260.0100.00326.35
8.1.250.0080.00028.09
8.1.240.0050.00522.65
8.1.230.0000.01221.00
8.1.220.0050.00317.78
8.1.210.0000.00818.88
8.1.200.0070.00317.47
8.1.190.0000.00817.53
8.1.180.0050.00318.10
8.1.170.0050.00320.68
8.1.160.0050.00318.86
8.1.150.0000.00818.79
8.1.140.0040.00417.55
8.1.130.0040.00417.78
8.1.120.0040.00417.44
8.1.110.0000.00817.48
8.1.100.0000.00817.61
8.1.90.0060.00317.55
8.1.80.0000.00717.53
8.1.70.0030.00317.55
8.1.60.0080.00017.69
8.1.50.0050.00317.61
8.1.40.0000.00917.63
8.1.30.0030.00517.65
8.1.20.0000.00817.70
8.1.10.0040.00417.69
8.1.00.0080.00017.65
8.0.300.0070.00019.85
8.0.290.0050.00217.00
8.0.280.0040.00418.39
8.0.270.0000.00817.21
8.0.260.0000.00718.70
8.0.250.0000.00817.14
8.0.240.0060.00317.06
8.0.230.0000.00817.10
8.0.220.0000.00717.09
8.0.210.0030.00317.04
8.0.200.0000.00717.16
8.0.190.0030.00517.02
8.0.180.0030.00617.11
8.0.170.0050.00517.05
8.0.160.0050.00217.05
8.0.150.0000.00816.89
8.0.140.0060.00316.92
8.0.130.0070.00013.36
8.0.120.0040.00417.09
8.0.110.0040.00416.87
8.0.100.0000.00816.92
8.0.90.0020.00517.04
8.0.80.0100.00717.03
8.0.70.0030.00516.86
8.0.60.0040.00417.03
8.0.50.0040.00416.91
8.0.30.0100.01117.21
8.0.20.0080.01017.16
8.0.10.0080.00017.12
8.0.00.0130.00517.21
7.4.330.0000.00614.99
7.4.320.0030.00316.74
7.4.300.0060.00016.68
7.4.290.0040.00416.64
7.4.280.0070.00316.71
7.4.270.0030.00316.68
7.4.260.0030.00513.43
7.4.250.0050.00316.76
7.4.240.0040.00416.78
7.4.230.0040.00416.55
7.4.220.0090.00616.80
7.4.210.0080.01016.79
7.4.200.0000.00816.58
7.4.190.0000.00716.95
7.4.160.0150.00416.63
7.4.150.0180.00617.07
7.4.140.0130.00817.29
7.4.130.0090.00816.71
7.4.120.0080.00916.66
7.4.110.0080.01116.77
7.4.100.0090.00916.62
7.4.90.0150.00416.76
7.4.80.0070.01418.80
7.4.70.0140.00716.68
7.4.60.0040.01416.42
7.4.50.0000.00816.79
7.4.40.0040.00822.26
7.4.30.0070.01016.69
7.4.00.0080.00415.14
7.3.330.0030.00313.32
7.3.320.0030.00313.20
7.3.310.0000.00716.48
7.3.300.0000.00716.44
7.3.290.0030.01016.64
7.3.280.0060.00816.52
7.3.270.0070.01017.07
7.3.260.0110.00818.24
7.3.250.0060.01216.46
7.3.240.0000.01616.82
7.3.230.0100.00716.50
7.3.210.0030.01716.54
7.3.200.0130.00319.39
7.3.190.0140.00716.64
7.3.180.0030.01316.84
7.3.170.0120.00616.68
7.3.160.0090.00616.76
7.3.120.0050.01215.24
7.3.110.0030.01314.95
7.3.100.0090.00914.96
7.3.90.0130.00014.98
7.3.80.0040.01815.08
7.3.70.0030.01015.02
7.3.60.0030.00614.70
7.3.50.0100.00314.82
7.3.40.0040.00415.05
7.3.30.0090.00314.88
7.3.20.0000.01216.77
7.3.10.0060.00616.71
7.3.00.0070.00516.74
7.2.330.0030.01616.86
7.2.320.0070.01717.00
7.2.310.0090.01416.67
7.2.300.0100.00616.79
7.2.290.0130.00916.70
7.2.250.0070.01414.91
7.2.240.0070.01115.23
7.2.230.0060.01115.02
7.2.220.0150.00015.35
7.2.210.0060.00615.10
7.2.200.0160.00315.43
7.2.190.0090.00914.98
7.2.180.0060.00314.99
7.2.170.0000.00915.38
7.2.160.0030.00915.16
7.2.150.0000.01417.06
7.2.140.0060.00917.22
7.2.130.0050.00817.05
7.2.120.0050.00916.96
7.2.110.0030.01116.97
7.2.100.0030.00916.91
7.2.90.0070.00817.13
7.2.80.0080.00817.03
7.2.70.0060.00817.23
7.2.60.0040.00617.10
7.2.50.0030.00817.01
7.2.40.0060.00617.10
7.2.30.0070.00816.97
7.2.20.0100.00317.28
7.2.10.0050.00917.01
7.2.00.0050.00718.02
7.1.330.0100.00615.86
7.1.320.0100.01015.93
7.1.310.0040.00715.73
7.1.300.0060.00816.20
7.1.290.0040.01115.84
7.1.280.0090.00615.99
7.1.270.0000.01215.79
7.1.260.0090.00315.96
7.1.250.0060.00315.71
7.1.240.0050.00315.80
7.1.230.0070.01015.92
7.1.220.0070.00715.92
7.1.210.0030.01016.06
7.1.200.0070.00715.91
7.1.190.0040.00815.83
7.1.180.0030.01016.01
7.1.170.0080.00015.90
7.1.160.0100.00316.17
7.1.150.0000.01316.04
7.1.140.0040.01116.17
7.1.130.0080.00415.76
7.1.120.0090.00916.07
7.1.110.0100.00716.05
7.1.100.0090.00417.14
7.1.90.0130.00016.06
7.1.80.0060.00915.94
7.1.70.0050.00416.61
7.1.60.0110.01117.73
7.1.50.0040.01216.50
7.1.40.0000.01515.68
7.1.30.0030.01215.77
7.1.20.0030.00816.11
7.1.10.0060.00615.70
7.1.00.0040.04219.23
7.0.330.0000.00715.76
7.0.320.0060.00615.64
7.0.310.0060.00615.77
7.0.300.0080.00815.83
7.0.290.0000.01215.21
7.0.280.0100.00015.48
7.0.270.0080.00415.67
7.0.260.0040.01115.54
7.0.250.0030.00615.50
7.0.240.0100.00315.43
7.0.230.0080.00815.48
7.0.220.0100.00315.64
7.0.210.0030.00715.52
7.0.200.0030.00616.27
7.0.190.0030.01015.66
7.0.180.0000.01515.53
7.0.170.0000.00915.63
7.0.160.0110.00415.63
7.0.150.0060.00315.77
7.0.140.0080.03818.82
7.0.130.0120.00315.71
7.0.120.0110.04218.71
7.0.110.0030.05018.88
7.0.100.0100.03918.91
7.0.90.0050.04518.80
7.0.80.0100.02818.77
7.0.70.0030.04218.77
7.0.60.0020.04318.69
7.0.50.0050.02518.66
7.0.40.0060.02016.83
7.0.30.0060.02616.87
7.0.20.0050.04616.77
7.0.10.0030.02616.91
7.0.00.0050.02416.90
5.6.400.0090.00314.05
5.6.390.0070.00414.14
5.6.380.0030.00714.62
5.6.370.0130.00313.96
5.6.360.0030.00614.33
5.6.350.0040.00714.57
5.6.340.0100.00314.04
5.6.330.0030.00614.61
5.6.320.0030.01414.57
5.6.310.0060.00914.61
5.6.300.0030.00614.47
5.6.290.0030.00914.79
5.6.280.0100.00314.18
5.6.270.0150.03217.69
5.6.260.0070.03017.80
5.6.250.0050.02817.80
5.6.240.0080.02817.88
5.6.230.0050.02117.75
5.6.220.0050.05217.68
5.6.210.0050.04017.59
5.6.200.0030.02517.73
5.6.190.0020.02517.70
5.6.180.0060.03517.55
5.6.170.0020.02617.74
5.6.160.0050.04617.64
5.6.150.0070.02517.66
5.6.140.0030.02317.72
5.6.130.0100.01617.80
5.6.120.0030.02517.61
5.6.110.0020.02717.54
5.6.100.0050.02617.68
5.6.90.0050.04017.75
5.6.80.0050.04917.26
5.6.70.0000.04117.25
5.6.60.0060.02817.29
5.6.50.0040.02417.47
5.6.40.0060.04517.46
5.6.30.0030.04317.38
5.6.20.0050.04217.28
5.6.10.0070.04417.27
5.6.00.0050.02417.13
5.5.380.0040.02015.98
5.5.370.0050.03516.11
5.5.360.0050.04015.93
5.5.350.0050.02516.01
5.5.340.0040.03116.40
5.5.330.0080.01816.05
5.5.320.0050.02316.14
5.5.310.0020.02616.21
5.5.300.0060.02216.43
5.5.290.0000.02816.23
5.5.280.0030.02016.28
5.5.270.0070.02416.10
5.5.260.0050.03316.24
5.5.250.0020.03515.99
5.5.240.0080.03515.70
5.5.230.0060.03915.96
5.5.220.0020.03915.80
5.5.210.0080.03215.91
5.5.200.0070.04015.84
5.5.190.0000.03115.93
5.5.180.0040.03815.70
5.5.170.0000.01114.30
5.5.160.0070.04215.88
5.5.150.0050.04215.79
5.5.140.0070.02915.81
5.5.130.0070.03815.63
5.5.120.0020.04015.87
5.5.110.0050.03715.88
5.5.100.0040.04215.65
5.5.90.0050.03015.85
5.5.80.0040.03815.67
5.5.70.0030.03815.65
5.5.60.0060.03115.92
5.5.50.0070.03515.94
5.5.40.0050.04015.70
5.5.30.0090.03715.69
5.5.20.0040.02515.58
5.5.10.0030.04715.71
5.5.00.0020.04515.69
5.4.450.0040.01815.17
5.4.440.0030.02315.25
5.4.430.0030.02215.24
5.4.420.0040.02015.33
5.4.410.0040.02115.18
5.4.400.0040.02815.02
5.4.390.0030.04215.11
5.4.380.0090.03715.25
5.4.370.0030.04115.08
5.4.360.0070.02315.15
5.4.350.0020.02515.15
5.4.340.0020.04514.87
5.4.330.0030.01011.07
5.4.320.0020.04415.04
5.4.310.0020.02815.11
5.4.300.0030.04315.15
5.4.290.0060.03515.01
5.4.280.0030.04215.10
5.4.270.0050.04014.94
5.4.260.0050.02014.90
5.4.250.0060.02915.01
5.4.240.0010.03514.88
5.4.230.0060.03515.16
5.4.220.0030.03815.15
5.4.210.0070.03815.15
5.4.200.0020.02515.14
5.4.190.0050.02314.92
5.4.180.0030.04115.24
5.4.170.0030.02915.13
5.4.160.0050.03114.78
5.4.150.0090.03315.02
5.4.140.0020.04413.59
5.4.130.0000.03713.58
5.4.120.0040.03013.62
5.4.110.0030.02313.55
5.4.100.0020.03513.81
5.4.90.0020.04013.57
5.4.80.0040.03413.64
5.4.70.0040.02213.67
5.4.60.0030.03513.79
5.4.50.0040.03513.85
5.4.40.0020.04113.69
5.4.30.0040.03513.71
5.4.20.0050.03713.81
5.4.10.0050.03813.73
5.4.00.0070.03413.48
5.3.290.0020.03212.61
5.3.280.0030.03812.59
5.3.270.0020.02912.63
5.3.260.0020.03812.58
5.3.250.0070.03012.55
5.3.240.0020.04112.44
5.3.230.0030.03712.49
5.3.220.0050.03412.42
5.3.210.0090.03512.42
5.3.200.0050.03912.47
5.3.190.0060.03012.54
5.3.180.0020.03712.55
5.3.170.0020.03912.64
5.3.160.0000.04112.60
5.3.150.0050.03612.49
5.3.140.0030.03812.53
5.3.130.0030.03112.61
5.3.120.0010.03512.55
5.3.110.0050.04012.57
5.3.100.0070.03512.30
5.3.90.0050.03812.26
5.3.80.0030.03812.15
5.3.70.0020.02312.15
5.3.60.0060.03712.21
5.3.50.0050.02212.18
5.3.40.0030.03012.14
5.3.30.0050.02712.05
5.3.20.0010.03411.87
5.3.10.0030.02511.95
5.3.00.0020.03811.78
5.2.170.0000.05011.20
5.2.160.0030.04710.93
5.2.150.0000.05311.05
5.2.140.0000.07010.92
5.2.130.0070.04011.11
5.2.120.0000.03011.04
5.2.110.0000.04311.02
5.2.100.0030.04011.12
5.2.90.0030.02311.04
5.2.80.0030.06011.11
5.2.70.0030.05311.00
5.2.60.0000.03311.06
5.2.50.0030.05010.97
5.2.40.0000.04711.16
5.2.30.0000.06010.87
5.2.20.0030.05710.97
5.2.10.0000.03311.08
5.2.00.0030.07310.63
5.1.60.0030.04710.06
5.1.50.0030.0379.96
5.1.40.0030.05010.21
5.1.30.0000.03710.33
5.1.20.0070.04710.23
5.1.10.0000.0239.89
5.1.00.0000.0539.98
5.0.50.0030.0339.87
5.0.40.0030.0439.87
5.0.30.0000.0379.87
5.0.20.0030.0379.87
5.0.10.0000.0439.87
5.0.00.0000.0509.87
4.4.90.0000.0339.87
4.4.80.0000.0379.87
4.4.70.0000.0339.87
4.4.60.0000.0179.87
4.4.50.0000.0239.87
4.4.40.0000.0509.87
4.4.30.0000.0309.87
4.4.20.0000.0179.87
4.4.10.0030.0239.87
4.4.00.0000.0479.87
4.3.110.0000.0309.87
4.3.100.0000.0339.87
4.3.90.0000.0279.87
4.3.80.0000.0509.87
4.3.70.0000.0339.87
4.3.60.0030.0309.87
4.3.50.0000.0379.87
4.3.40.0000.0539.87
4.3.30.0070.0209.87
4.3.20.0000.0409.87
4.3.10.0000.0309.87
4.3.00.0000.0339.87

preferences:
41.25 ms | 401 KiB | 5 Q