3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paths = array( 20 => array( 'name' => 'Heels', 'path' => '1/2/10/15/20', ), 15 => array( 'name' => 'Sandals', 'path' => '1/2/80/96/15', ), 10 => array( 'name' => 'Trainers', 'path' => '1/2/80/96/10', ), ); arsort($paths); $breadcrumb = (object) array( 'value' => array_keys($paths)[count($paths)-1], 'labels' => implode(' > ', array_column($paths, 'name')) ); var_dump($breadcrumb);

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.10.0110.00716.74
8.5.00.0170.00519.94
8.4.150.0020.00014.05
8.4.140.0110.01017.44
8.4.130.0110.00917.54
8.4.120.0100.01022.32
8.4.110.0100.01022.57
8.4.100.0130.00817.52
8.4.90.0120.00918.56
8.4.80.0060.00517.67
8.4.70.0040.00317.79
8.4.60.0110.01018.68
8.4.50.0070.00220.61
8.4.40.0060.01319.43
8.4.30.0060.00319.34
8.4.20.0070.01420.55
8.4.10.0130.00617.51
8.3.280.0100.01018.37
8.3.270.0110.01116.60
8.3.260.0110.00416.62
8.3.250.0090.00719.07
8.3.240.0140.00617.19
8.3.230.0150.00416.73
8.3.220.0040.00417.18
8.3.210.0110.00720.89
8.3.200.0030.00616.73
8.3.190.0090.00717.18
8.3.180.0040.00418.52
8.3.170.0120.00617.20
8.3.160.0040.01518.53
8.3.150.0080.01118.47
8.3.140.0130.00617.46
8.3.130.0000.00818.42
8.3.120.0000.00918.80
8.3.110.0000.00820.94
8.3.100.0070.01016.65
8.3.90.0080.00816.66
8.3.80.0030.00618.43
8.3.70.0070.01116.50
8.3.60.0090.01318.18
8.3.50.0060.00818.08
8.3.40.0140.00718.48
8.3.30.0000.01418.68
8.3.20.0040.00421.72
8.3.10.0000.00723.66
8.3.00.0040.00423.48
8.2.290.0110.00720.50
8.2.280.0060.00218.19
8.2.270.0070.01117.18
8.2.260.0110.00716.42
8.2.250.0080.00018.32
8.2.240.0070.01117.21
8.2.230.0090.00922.58
8.2.220.0030.00724.06
8.2.210.0030.00526.77
8.2.200.0030.00618.29
8.2.190.0120.00320.23
8.2.180.0090.00618.06
8.2.170.0140.00322.96
8.2.160.0100.00320.21
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00418.09
8.2.120.0050.00326.35
8.2.110.0100.00021.99
8.2.100.0030.00917.84
8.2.90.0090.00022.20
8.2.80.0080.00017.97
8.2.70.0000.00818.04
8.2.60.0040.00418.22
8.2.50.0040.00418.10
8.2.40.0040.00419.11
8.2.30.0000.00819.34
8.2.20.0000.00818.01
8.2.10.0000.00719.21
8.2.00.0080.00319.41
8.1.330.0130.00722.11
8.1.320.0100.01016.25
8.1.310.0100.00718.41
8.1.300.0040.00418.44
8.1.290.0040.00418.88
8.1.280.0070.01125.92
8.1.270.0080.00018.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00320.76
8.1.230.0000.01120.94
8.1.220.0000.00817.76
8.1.210.0060.00318.91
8.1.200.0000.00817.36
8.1.190.0080.00017.22
8.1.180.0040.00418.10
8.1.170.0050.00318.59
8.1.160.0040.00418.91
8.1.150.0040.00418.85
8.1.140.0030.00422.18
8.1.130.0000.00720.18
8.1.120.0070.00017.36
8.1.110.0040.00417.45
8.1.100.0060.00317.47
8.1.90.0030.00617.44
8.1.80.0040.00417.48
8.1.70.0070.00017.30
8.1.60.0040.00417.59
8.1.50.0000.00817.53
8.1.40.0080.00017.46
8.1.30.0000.00717.63
8.1.20.0000.00817.59
8.1.10.0000.00917.47
8.1.00.0000.00817.36
8.0.300.0040.00419.86
8.0.290.0080.00016.63
8.0.280.0050.00218.39
8.0.270.0000.00717.19
8.0.260.0000.00618.38
8.0.250.0040.00416.95
8.0.240.0000.00716.91
8.0.230.0030.00316.80
8.0.220.0070.00016.79
8.0.210.0040.00416.86
8.0.200.0000.00816.87
8.0.190.0030.00616.88
8.0.180.0030.00616.81
8.0.170.0060.00316.79
8.0.160.0040.00416.90
8.0.150.0000.00716.79
8.0.140.0040.00416.87
8.0.130.0030.00313.39
8.0.120.0040.00416.88
8.0.110.0040.00416.72
8.0.100.0070.00016.73
8.0.90.0040.00416.82
8.0.80.0110.00816.92
8.0.70.0000.00716.86
8.0.60.0000.00816.93
8.0.50.0040.00417.00
8.0.30.0120.00816.93
8.0.20.0100.00817.40
8.0.10.0050.00217.03
8.0.00.0090.00916.65
7.4.330.0050.00016.71
7.4.320.0000.00616.37
7.4.300.0060.00016.58
7.4.290.0070.00016.56
7.4.280.0070.00016.58
7.4.270.0000.00816.45
7.4.260.0080.00016.55
7.4.250.0070.00016.48
7.4.240.0060.00316.61
7.4.230.0000.00716.70
7.4.220.0040.00416.70
7.4.210.0090.00516.46
7.4.200.0040.00416.68
7.4.160.0060.01116.43
7.4.140.0090.00817.86
7.4.130.0120.00916.52
7.4.120.0060.01316.44
7.4.110.0070.01116.46
7.4.100.0000.02316.54
7.4.90.0100.00716.67
7.4.80.0130.00719.39
7.4.70.0090.00916.53
7.4.60.0060.00916.47
7.4.50.0040.00716.53
7.4.40.0070.01416.61
7.4.00.0070.01115.01
7.3.330.0000.00513.13
7.3.320.0000.00513.11
7.3.310.0030.00616.41
7.3.300.0000.00716.16
7.3.290.0030.00316.37
7.3.280.0090.01216.34
7.3.260.0110.00716.41
7.3.240.0090.00916.33
7.3.230.0090.00916.29
7.3.210.0120.00916.41
7.3.200.0060.01216.34
7.3.190.0080.01216.36
7.3.180.0140.00316.41
7.3.170.0110.00616.49
7.3.160.0050.01116.29
7.3.10.0000.01216.50
7.3.00.0250.00815.67
7.2.330.0120.00616.51
7.2.320.0070.01016.83
7.2.310.0130.00316.56
7.2.300.0090.00916.60
7.2.290.0060.01216.84
7.2.130.0320.00915.79
7.2.120.0240.00615.82
7.2.110.0330.00615.99
7.2.100.0290.00615.98
7.2.90.0230.00816.07
7.2.80.0370.00916.11
7.2.70.0220.00415.91
7.2.60.0350.00915.96
7.2.50.0290.00815.88
7.2.40.0220.00616.13
7.2.30.0220.00815.95
7.2.20.0220.00815.70
7.2.10.0250.00815.75
7.2.00.0250.01015.96
7.1.250.0220.00514.88
7.0.330.0560.00713.57
5.6.380.0070.01014.09

preferences:
159.66 ms | 403 KiB | 5 Q