3v4l.org

run code in 300+ PHP versions simultaneously
<?php $no_params = preg_replace('%/\{[^}]*}%', '', $this->path); $no_dash = implode(array_map('ucfirst', explode('-', $no_params))); $paths = array_slice(explode('/', trim($no_dash, '/')), 0, -1); array_map('ucfirst', $paths);

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.0070.00716.49
8.3.50.0040.01116.48
8.3.40.0140.00018.79
8.3.30.0080.00618.71
8.3.20.0040.00420.13
8.3.10.0000.00821.95
8.3.00.0050.00320.95
8.2.180.0090.00518.52
8.2.170.0100.00722.96
8.2.160.0070.00718.99
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00022.21
8.2.120.0070.00026.35
8.2.110.0000.01119.13
8.2.100.0090.00317.80
8.2.90.0040.00619.23
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0080.00017.80
8.2.50.0060.00318.10
8.2.40.0000.00820.64
8.2.30.0050.00220.55
8.2.20.0000.00817.58
8.2.10.0000.00818.07
8.2.00.0000.00718.00
8.1.270.0080.00024.02
8.1.260.0000.00728.09
8.1.250.0030.00628.09
8.1.240.0070.01319.13
8.1.230.0090.00317.77
8.1.220.0020.00517.74
8.1.210.0040.00418.77
8.1.200.0070.00317.22
8.1.190.0050.00317.23
8.1.180.0000.00918.10
8.1.170.0030.00518.43
8.1.160.0000.00820.92
8.1.150.0040.00418.70
8.1.140.0000.00719.50
8.1.130.0000.00717.55
8.1.120.0030.00317.29
8.1.110.0000.00717.25
8.1.100.0070.00017.28
8.1.90.0080.00017.34
8.1.80.0040.00417.27
8.1.70.0040.00417.35
8.1.60.0000.00717.39
8.1.50.0030.00517.48
8.1.40.0060.00317.34
8.1.30.0080.00017.56
8.1.20.0000.00817.60
8.1.10.0000.00817.40
8.1.00.0040.00417.51
8.0.300.0050.00318.77
8.0.290.0070.00016.75
8.0.280.0040.00418.31
8.0.270.0030.00317.21
8.0.260.0000.00817.14
8.0.250.0030.00316.99
8.0.240.0040.00416.87
8.0.230.0000.00717.01
8.0.220.0000.00716.85
8.0.210.0000.00716.93
8.0.200.0060.00016.84
8.0.190.0040.00416.95
8.0.180.0070.00016.89
8.0.170.0050.00316.92
8.0.160.0000.00716.88
8.0.150.0050.00316.88
8.0.140.0070.00016.78
8.0.130.0000.00613.27
8.0.120.0050.00316.84
8.0.110.0040.00416.94
8.0.100.0040.00416.87
8.0.90.0050.00216.79
8.0.80.0090.00616.91
8.0.70.0050.00316.74
8.0.60.0050.00316.71
8.0.50.0040.00416.82
8.0.30.0080.01117.04
8.0.20.0130.00617.40
8.0.10.0070.00016.96
8.0.00.0110.00916.76
7.4.330.0060.00015.08
7.4.320.0000.00716.38
7.4.300.0070.00016.34
7.4.290.0020.00516.47
7.4.280.0080.00016.46
7.4.270.0000.00716.40
7.4.260.0000.00816.45
7.4.250.0040.00416.54
7.4.240.0000.00716.59
7.4.230.0070.00016.52
7.4.220.0080.01516.48
7.4.210.0060.01116.57
7.4.200.0000.00716.55
7.4.160.0090.00616.79
7.4.150.0030.01417.40
7.4.140.0110.01017.86
7.4.130.0060.01316.49
7.4.120.0110.01016.36
7.4.110.0160.00716.44
7.4.100.0110.00716.44
7.4.90.0160.00616.52
7.4.80.0000.01719.39
7.4.70.0140.00316.47
7.4.60.0100.00616.67
7.4.50.0040.01516.29
7.4.40.0180.00316.54
7.4.30.0090.00916.28
7.4.10.0090.00916.51
7.4.00.0110.00315.60
7.3.330.0000.00513.11
7.3.320.0000.00513.14
7.3.310.0050.00316.11
7.3.300.0030.00316.17
7.3.290.0000.00616.29
7.3.280.0080.01016.28
7.3.270.0090.00917.40
7.3.260.0090.01616.44
7.3.250.0100.00816.54
7.3.240.0090.00716.52
7.3.230.0180.00416.39
7.3.210.0040.01216.47
7.3.200.0160.00316.30
7.3.190.0030.01316.38
7.3.180.0100.00716.20
7.3.170.0100.01016.29
7.3.160.0040.01616.45
7.3.130.0040.01516.34
7.3.120.0040.01415.61
7.3.110.0060.01015.56
7.3.100.0060.00915.44
7.3.90.0080.00515.54
7.3.80.0050.00515.45
7.3.70.0060.00815.53
7.3.60.0070.01115.53
7.3.50.0030.01015.46
7.3.40.0050.00915.58
7.3.30.0080.00515.52
7.3.20.0040.01117.43
7.3.10.0030.01017.29
7.3.00.0060.01017.36
7.2.330.0060.01516.66
7.2.320.0090.01216.64
7.2.310.0070.01016.64
7.2.300.0120.00616.30
7.2.290.0090.01316.57
7.2.260.0040.01116.60
7.2.250.0070.01316.68
7.2.240.0040.00715.57
7.2.230.0080.00815.83
7.2.220.0030.01215.67
7.2.210.0080.00715.60
7.2.200.0050.01115.85
7.2.190.0020.01315.66
7.2.180.0080.00515.64
7.2.170.0090.00715.73
7.2.160.0060.00915.73
7.2.150.0110.00417.58
7.2.140.0050.00717.55
7.2.130.0040.00817.68
7.2.120.0080.00317.70
7.2.110.0040.01117.44
7.2.100.0050.00917.56
7.2.90.0060.00817.54
7.2.80.0070.00717.57
7.2.70.0050.01217.56
7.2.60.0030.01117.34
7.2.50.0050.00717.21
7.2.40.0050.00917.55
7.2.30.0050.00717.69
7.2.20.0050.01117.59
7.2.10.0080.01017.43
7.2.00.0040.00918.17
7.1.330.0050.01016.50
7.1.320.0020.01216.50
7.1.310.0070.00916.29
7.1.300.0040.00916.37
7.1.290.0050.01116.32
7.1.280.0030.01016.44
7.1.270.0050.00416.26
7.1.260.0080.00616.21
7.1.250.0040.00916.35
7.1.240.0040.00717.15
7.1.230.0100.00717.19
7.1.220.0000.01017.18
7.1.210.0000.01317.27
7.1.200.0020.00916.27
7.1.190.0060.00317.14
7.1.180.0030.00717.26
7.1.170.0110.00317.05
7.1.160.0070.01017.04
7.1.150.0070.00417.12
7.1.140.0040.01517.15
7.1.130.0030.01416.93
7.1.120.0060.00617.00
7.1.110.0030.01217.15
7.1.100.0100.00316.99
7.1.90.0030.00917.23
7.1.80.0060.00317.20
7.1.70.0060.00517.13
7.1.60.0100.00718.27
7.1.50.0070.01017.05
7.1.40.0000.01317.10
7.1.30.0040.01417.27
7.1.20.0060.00316.99
7.1.10.0030.01317.15
7.1.00.0070.04219.74
7.0.330.0070.00716.82
7.0.320.0060.00916.80
7.0.310.0080.00816.77
7.0.300.0030.00716.83
7.0.290.0040.01117.03
7.0.280.0000.00916.76
7.0.270.0060.01216.90
7.0.260.0060.00616.72
7.0.250.0030.00616.85
7.0.240.0030.01017.04
7.0.230.0030.01116.82
7.0.220.0060.00616.97
7.0.210.0060.00616.84
7.0.200.0000.01416.60
7.0.190.0030.00716.80
7.0.180.0080.00816.89
7.0.170.0030.01416.93
7.0.160.0090.00316.88
7.0.150.0060.00916.85
7.0.140.0030.01016.88
7.0.130.0030.00916.95
7.0.120.0130.00016.78
7.0.110.0100.00316.98
7.0.100.0050.00516.83
7.0.90.0100.00316.81
7.0.80.0000.01616.84
7.0.70.0090.00616.87
7.0.60.0030.03919.17
7.0.50.0110.04517.32
7.0.40.0170.04617.52
7.0.30.0270.04417.63
7.0.20.0250.04017.42
7.0.10.0420.02517.53
7.0.00.0300.03617.60
5.6.400.0060.00915.49
5.6.390.0000.01315.85
5.6.380.0040.00715.62
5.6.370.0030.00915.40
5.6.360.0070.00715.72
5.6.350.0030.01415.85
5.6.340.0070.00715.66
5.6.330.0060.00615.80
5.6.320.0070.00715.94
5.6.310.0030.01015.60
5.6.300.0070.00715.83
5.6.290.0000.01015.45
5.6.280.0060.04118.32
5.6.270.0030.01315.65
5.6.260.0080.00615.78
5.6.250.0070.01015.69
5.6.240.0030.01415.64
5.6.230.0110.00015.51
5.6.220.0100.00715.85
5.6.210.0050.03218.04
5.6.200.0100.04016.94
5.6.190.0240.04018.04
5.6.180.0170.03718.05
5.6.170.0220.03518.00
5.6.160.0250.03618.11
5.6.150.0180.02617.85
5.6.140.0150.04317.91
5.6.130.0100.03517.87
5.6.120.0130.03318.10
5.6.110.0070.04017.88
5.6.100.0160.02818.13
5.6.90.0080.03817.96
5.6.80.0100.04017.51
5.6.70.0170.02717.64
5.6.60.0150.03717.67
5.6.50.0080.03317.53
5.6.40.0250.03617.64
5.6.30.0310.04117.60
5.6.20.0100.03617.54
5.6.10.0130.03317.64
5.6.00.0220.03617.71
5.5.380.0060.00615.34
5.5.370.0100.00715.23
5.5.360.0090.00615.29
5.5.350.0140.03017.85
5.5.340.0070.04716.62
5.5.330.0200.03317.75
5.5.320.0220.03517.80
5.5.310.0250.04017.82
5.5.300.0130.03517.78
5.5.290.0150.03117.59
5.5.280.0130.03417.64
5.5.270.0160.03017.79
5.5.260.0130.04317.82
5.5.250.0090.03617.53
5.5.240.0170.03017.44
5.5.230.0270.02817.40
5.5.220.0090.03617.43
5.5.210.0170.02817.39
5.5.200.0100.04317.39
5.5.190.0280.04117.51
5.5.180.0190.03517.58
5.5.170.0090.00615.10
5.5.160.0210.04417.34
5.5.150.0280.04117.61
5.5.140.0270.03517.38
5.5.130.0270.02617.43
5.5.120.0250.03017.42
5.5.110.0180.03217.38
5.5.100.0170.03517.53
5.5.90.0210.02917.43
5.5.80.0190.03417.29
5.5.70.0170.03117.51
5.5.60.0080.03017.43
5.5.50.0100.04017.32
5.5.40.0160.03617.37
5.5.30.0280.02617.48
5.5.20.0280.02617.49
5.5.10.0280.03617.36
5.5.00.0290.03017.40

preferences:
58.18 ms | 400 KiB | 5 Q