3v4l.org

run code in 500+ PHP versions simultaneously
<?php $queryParamsPath = 'Indoformosa/Folder1/SubFolder1'; $parts = explode('/', $queryParamsPath); $links = []; $path = ''; foreach ($parts as $part) { $links[] = [ 'label' => $part, 'url' => $path . $part, ]; $path .= $part . '/'; } print_r($links);

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.5.70.0080.00916.99
8.5.60.0050.00416.81
8.5.50.0110.00816.85
8.5.30.0110.00521.23
8.5.20.0130.00719.74
8.5.10.0090.00721.82
8.5.00.0110.01119.83
8.4.210.0100.01121.48
8.4.180.0150.00919.63
8.4.170.0090.01123.84
8.4.160.0130.00723.00
8.4.150.0090.00316.89
8.4.140.0150.00617.38
8.4.130.0100.00917.88
8.4.120.0120.00920.72
8.4.110.0090.01222.48
8.4.100.0120.00820.69
8.4.90.0130.00718.90
8.4.80.0110.00818.98
8.4.70.0050.00317.86
8.4.60.0100.00818.68
8.4.50.0140.00520.35
8.4.40.0060.00317.62
8.4.30.0040.00418.71
8.4.20.0100.01018.00
8.4.10.0030.00624.06
8.3.300.0120.00720.73
8.3.290.0100.01122.53
8.3.280.0100.01118.32
8.3.270.0110.00916.47
8.3.260.0120.00716.48
8.3.250.0160.00318.94
8.3.240.0070.00917.16
8.3.230.0130.00916.73
8.3.220.0080.00919.09
8.3.210.0110.00816.80
8.3.200.0050.00416.72
8.3.190.0090.00717.24
8.3.180.0120.00716.39
8.3.170.0120.00620.80
8.3.160.0050.00317.01
8.3.150.0060.01217.10
8.3.140.0090.00617.40
8.3.130.0040.00418.32
8.3.120.0030.00620.88
8.3.110.0000.00816.55
8.3.100.0160.00018.42
8.3.90.0120.00326.77
8.3.80.0030.00616.75
8.3.70.0140.00416.63
8.3.60.0070.00716.38
8.3.50.0100.01020.15
8.3.40.0070.00722.09
8.3.30.0110.01118.44
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0080.00026.16
8.2.300.0150.00718.12
8.2.290.0100.00920.55
8.2.280.0100.00818.53
8.2.270.0070.01118.84
8.2.260.0120.00618.59
8.2.250.0120.00318.34
8.2.240.0090.00017.11
8.2.230.0000.00920.94
8.2.220.0070.01324.06
8.2.210.0030.00526.77
8.2.200.0060.00318.29
8.2.190.0070.00716.75
8.2.180.0100.00725.92
8.2.170.0100.01018.93
8.2.160.0070.00722.96
8.2.150.0090.00025.66
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0000.00819.89
8.2.110.0030.00621.03
8.2.100.0120.00017.97
8.2.90.0080.00019.30
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0040.00418.03
8.2.50.0050.00318.07
8.2.40.0080.00018.22
8.2.30.0040.00418.01
8.2.20.0070.00019.27
8.2.10.0040.00418.12
8.2.00.0040.00419.41
8.1.340.0120.00917.56
8.1.330.0140.00522.02
8.1.320.0130.01015.93
8.1.310.0090.00616.81
8.1.300.0130.00619.32
8.1.290.0030.00630.84
8.1.280.0090.00625.92
8.1.270.0040.00424.66
8.1.260.0090.00026.35
8.1.250.0050.00228.09
8.1.240.0050.00522.25
8.1.230.0060.00619.00
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0090.00017.35
8.1.190.0030.00617.35
8.1.180.0030.00618.10
8.1.170.0040.00418.79
8.1.160.0000.00718.95
8.1.150.0070.00018.57
8.1.140.0000.00717.52
8.1.130.0000.00718.84
8.1.120.0050.01017.48
8.1.110.0090.00617.30
8.1.100.0110.00517.31
8.1.90.0090.00617.43
8.1.80.0130.00317.46
8.1.70.0120.00317.32
8.1.60.0120.00617.60
8.1.50.0150.00317.57
8.1.40.0100.00717.54
8.1.30.0150.00317.54
8.1.20.0100.01017.63
8.1.10.0110.00817.55
8.1.00.0180.00017.47
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00818.36
8.0.270.0070.00017.19
8.0.260.0060.00018.44
8.0.250.0110.00316.95
8.0.240.0120.00216.98
8.0.230.0100.00516.86
8.0.220.0120.00316.83
8.0.210.0090.00616.84
8.0.200.0110.00316.94
8.0.190.0040.01116.80
8.0.180.0110.00416.86
8.0.170.0140.00016.91
8.0.160.0130.00216.75
8.0.150.0110.00416.91
8.0.140.0110.00316.73
8.0.130.0100.00516.81
8.0.120.0120.00316.88
8.0.110.0110.00316.79
8.0.100.0140.00016.82
8.0.90.0150.00016.79
8.0.80.0070.00716.82
8.0.70.0130.00216.75
8.0.60.0070.00716.71
8.0.50.0140.00016.86
8.0.30.0050.01016.85
8.0.20.0140.00016.98
8.0.10.0100.00516.99
7.4.330.0000.00515.55
7.4.320.0040.01316.43
7.4.300.0120.00416.51
7.4.290.0140.00316.47
7.4.280.0150.00016.54
7.4.270.0080.00816.59
7.4.260.0130.00316.56
7.4.250.0100.00716.34
7.4.240.0100.00016.41
7.4.230.0070.00316.45
7.4.220.0100.00016.36
7.4.210.0080.00316.04
7.4.200.0050.00516.23
7.4.190.0030.00716.34
7.4.180.0070.00316.05
7.4.160.0080.00415.85
7.4.150.0110.00016.45
7.4.140.0080.00216.13
7.4.130.0040.00616.41
7.4.120.0030.00716.29
7.4.110.0080.00316.32
7.4.100.0060.00616.36
7.4.90.0070.00416.30
7.4.80.0050.00516.11
7.4.70.0100.00016.20
7.4.60.0090.00016.35
7.4.50.0000.00716.32
7.4.40.0090.00016.38
7.4.30.0070.00016.45
7.4.20.0040.00416.32
7.4.10.0030.00316.36
7.4.00.0030.00316.21

preferences:
87.88 ms | 1312 KiB | 5 Q