3v4l.org

run code in 300+ PHP versions simultaneously
<?php $files=array("index.md","storage_index.md","storage_one.md"); $master_array=array(); foreach($files as $file) { $file=explode("_",$file); $cache=end($file); while($level=prev($file)) { $cache=array($level=>$cache); } $master_array=array_merge_recursive($master_array,$cache); } print_r($master_array);

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.40.0090.00618.96
8.3.30.0110.00418.79
8.3.20.0030.00618.84
8.3.10.0080.00021.23
8.3.00.0040.00421.79
8.2.170.0170.00322.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0030.00721.03
8.2.110.0100.00020.52
8.2.100.0080.00317.84
8.2.90.0060.00319.02
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0000.00817.93
8.2.50.0030.00718.07
8.2.40.0040.00417.93
8.2.30.0040.00419.34
8.2.20.0050.00317.71
8.2.10.0050.00317.81
8.2.00.0080.00017.73
8.1.270.0050.00323.99
8.1.260.0110.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00620.72
8.1.230.0130.00020.88
8.1.220.0060.00318.77
8.1.210.0040.00418.97
8.1.200.0030.00617.35
8.1.190.0060.00317.63
8.1.180.0040.00418.10
8.1.170.0000.00918.59
8.1.160.0040.00418.78
8.1.150.0100.00018.64
8.1.140.0040.00417.35
8.1.130.0030.00317.84
8.1.120.0040.00417.44
8.1.110.0040.00417.38
8.1.100.0040.00417.35
8.1.90.0040.00317.39
8.1.80.0040.00417.41
8.1.70.0000.00817.33
8.1.60.0080.00017.58
8.1.50.0000.00717.45
8.1.40.0030.00517.48
8.1.30.0000.00717.62
8.1.20.0000.00817.66
8.1.10.0040.00417.59
8.1.00.0040.00417.40
8.0.300.0040.00420.04
8.0.290.0040.00417.05
8.0.280.0040.00418.44
8.0.270.0040.00417.21
8.0.260.0000.00616.84
8.0.250.0040.00416.89
8.0.240.0080.00017.01
8.0.230.0030.00317.08
8.0.220.0040.00417.00
8.0.210.0070.00016.92
8.0.200.0000.00617.00
8.0.190.0060.00316.89
8.0.180.0030.00516.93
8.0.170.0000.00816.84
8.0.160.0030.00316.91
8.0.150.0030.00316.91
8.0.140.0050.00316.95
8.0.130.0070.00013.37
8.0.120.0040.00416.81
8.0.110.0000.00716.99
8.0.100.0000.00716.77
8.0.90.0000.00716.95
8.0.80.0150.00416.83
8.0.70.0070.00016.79
8.0.60.0020.00516.77
8.0.50.0040.00416.84
8.0.30.0050.01317.10
8.0.20.0170.00217.40
8.0.10.0040.00417.19
8.0.00.0110.00716.60
7.4.330.0030.00316.71
7.4.320.0000.00716.50
7.4.300.0030.00316.36
7.4.290.0040.00416.52
7.4.280.0050.00216.44
7.4.270.0000.00716.53
7.4.260.0000.00613.13
7.4.250.0040.00416.49
7.4.240.0030.00316.55
7.4.230.0000.00816.60
7.4.220.0100.01016.57
7.4.210.0060.00816.50
7.4.200.0030.00316.61
7.4.190.0040.00416.69
7.4.160.0050.01116.45
7.4.150.0040.01517.40
7.4.140.0080.00817.86
7.4.130.0090.00916.62
7.4.120.0110.00716.46
7.4.110.0060.01016.61
7.4.100.0110.00616.27
7.4.90.0100.00716.65
7.4.80.0130.00319.39
7.4.70.0090.00916.29
7.4.60.0100.00716.73
7.4.50.0020.00216.52
7.4.40.0060.00922.77
7.4.30.0060.01016.61
7.4.00.0030.01415.06
7.3.330.0050.00013.28
7.3.320.0000.00513.29
7.3.310.0030.00316.31
7.3.300.0000.00716.37
7.3.290.0100.00316.35
7.3.280.0050.01016.38
7.3.270.0120.00617.40
7.3.260.0120.00918.24
7.3.250.0050.01616.44
7.3.240.0120.00616.61
7.3.230.0190.00316.49
7.3.210.0130.00316.57
7.3.200.0100.00719.39
7.3.190.0130.00916.27
7.3.180.0070.01016.36
7.3.170.0060.01616.40
7.3.160.0030.01216.33
7.3.120.0040.01215.02
7.2.330.0150.00616.54
7.2.320.0120.00616.70
7.2.310.0120.00816.42
7.2.300.0070.01116.63
7.2.290.0070.01016.36
7.2.00.0090.00619.66
7.1.100.0070.00718.13
7.1.70.0000.01117.27
7.1.60.0140.00719.40
7.1.50.0040.01917.04
7.1.00.0030.05322.48
7.0.200.0030.01016.80
7.0.140.0070.07022.07
7.0.100.0030.08719.90
7.0.90.0200.07019.89
7.0.80.0100.03719.97
7.0.70.0400.08019.79
7.0.60.0070.08719.90
7.0.50.0070.06020.30
7.0.40.0070.08719.96
7.0.30.0130.04020.13
7.0.20.0030.09020.03
7.0.10.0200.07320.07
7.0.00.0070.05720.05
5.6.280.0070.07020.89
5.6.250.0100.05720.46
5.6.240.0070.08320.63
5.6.230.0100.03720.45
5.6.220.0070.09020.54
5.6.210.0100.09020.51
5.6.200.0100.05721.12
5.6.190.0100.08020.90
5.6.180.0130.07320.88
5.6.170.0030.05321.03
5.6.160.0000.05020.89
5.6.150.0170.07020.98
5.6.140.0100.06321.02
5.6.130.0130.08020.98
5.6.120.0130.07321.07
5.6.110.0130.08020.95
5.6.100.0000.04720.88
5.6.90.0070.04721.06
5.6.80.0130.07720.40
5.6.70.0100.05720.35
5.6.60.0070.07320.23
5.6.50.0200.03320.46
5.6.40.0070.08020.34
5.6.30.0100.07020.33
5.6.20.0100.04320.38
5.6.10.0070.05720.36
5.6.00.0130.05320.37
5.5.380.0030.08020.37
5.5.370.0100.06720.49
5.5.360.0100.08320.30
5.5.350.0170.06020.26
5.5.340.0100.06320.70
5.5.330.0070.04720.83
5.5.320.0070.06320.82
5.5.310.0000.04720.59
5.5.300.0070.07720.80
5.5.290.0030.07320.77
5.5.280.0000.05720.84
5.5.270.0070.08320.82
5.5.260.0100.05320.83
5.5.250.0170.07020.68
5.5.240.0070.06020.09
5.5.230.0030.07320.15
5.5.220.0000.05020.11
5.5.210.0170.07720.24
5.5.200.0130.07020.08
5.5.190.0000.04720.08
5.5.180.0070.05720.22
5.5.160.0000.05320.20
5.5.150.0200.05719.93
5.5.140.0000.05320.12
5.5.130.0030.04720.16
5.5.120.0030.09020.21
5.5.110.0100.04020.16
5.5.100.0000.07320.04
5.5.90.0070.07320.07
5.5.80.0130.06019.88
5.5.70.0070.07019.91
5.5.60.0030.06720.11
5.5.50.0070.05020.02
5.5.40.0070.07319.90
5.5.30.0130.04720.02
5.5.20.0030.05020.09
5.5.10.0030.05319.98
5.5.00.0070.06020.06
5.4.450.0130.07019.39
5.4.440.0100.07019.27
5.4.430.0170.07019.57
5.4.420.0070.06719.32
5.4.410.0070.04019.22
5.4.400.0170.06019.10
5.4.390.0070.07719.10
5.4.380.0100.06719.09
5.4.370.0070.04718.82
5.4.360.0030.07019.23
5.4.350.0070.07719.04
5.4.340.0100.06718.78
5.4.320.0070.04319.07
5.4.310.0070.07319.05
5.4.300.0130.07318.82
5.4.290.0070.06318.80
5.4.280.0100.07719.09
5.4.270.0070.09018.96
5.4.260.0030.04719.12
5.4.250.0030.05019.08
5.4.240.0030.04319.11
5.4.230.0130.05719.11
5.4.220.0100.07319.08
5.4.210.0030.08018.97
5.4.200.0030.07719.12
5.4.190.0070.07318.77
5.4.180.0070.07319.08
5.4.170.0170.06319.05
5.4.160.0130.03018.95
5.4.150.0030.04319.09
5.4.140.0030.04716.28
5.4.130.0100.06716.22
5.4.120.0030.05016.33
5.4.110.0000.05316.44
5.4.100.0100.04016.43
5.4.90.0030.06016.22
5.4.80.0070.06016.25
5.4.70.0030.04016.30
5.4.60.0170.03016.19
5.4.50.0030.03716.26
5.4.40.0100.05716.23
5.4.30.0070.07016.37
5.4.20.0100.03716.18
5.4.10.0130.04016.27
5.4.00.0030.07715.66
5.3.290.0170.07014.66
5.3.280.0070.05014.58
5.3.270.0130.07014.56
5.3.260.0100.03314.59
5.3.250.0000.04014.45
5.3.240.0170.04314.46
5.3.230.0100.06314.57
5.3.220.0100.06714.42
5.3.210.0070.04314.42
5.3.200.0030.07314.52
5.3.190.0100.07314.43
5.3.180.0100.07014.42
5.3.170.0030.03714.50
5.3.160.0030.07314.52
5.3.150.0070.03314.52
5.3.140.0030.04014.37
5.3.130.0070.06314.38
5.3.120.0030.04714.50
5.3.110.0100.07314.52
5.3.100.0100.05313.94
5.3.90.0070.07313.93
5.3.80.0200.06013.79
5.3.70.0030.06313.92
5.3.60.0070.07313.98
5.3.50.0170.05713.70
5.3.40.0030.07713.71
5.3.30.0070.07013.86
5.3.20.0070.04313.65
5.3.10.0070.06713.58
5.3.00.0100.07313.61
5.2.170.0000.06710.95
5.2.160.0130.05311.06
5.2.150.0130.05011.14
5.2.140.0030.06311.18
5.2.130.0030.04311.02
5.2.120.0030.03310.93
5.2.110.0000.04010.93
5.2.100.0100.05311.14
5.2.90.0130.03710.94
5.2.80.0070.05711.14
5.2.70.0130.05311.09
5.2.60.0030.04311.08
5.2.50.0000.03710.94
5.2.40.0030.04710.96
5.2.30.0030.05710.96
5.2.20.0030.05311.00
5.2.10.0070.05710.91
5.2.00.0130.05010.66
5.1.60.0030.03710.04
5.1.50.0000.03010.05
5.1.40.0030.0579.97
5.1.30.0030.06310.34
5.1.20.0030.05710.28
5.1.10.0100.04310.06
5.1.00.0000.03310.05
5.0.50.0070.0438.53
5.0.40.0070.0208.40
5.0.30.0000.0538.27
5.0.20.0030.0338.30
5.0.10.0030.0378.22
5.0.00.0000.0408.14
4.4.90.0030.0307.21
4.4.80.0030.0137.21
4.4.70.0070.0307.21
4.4.60.0000.0207.21
4.4.50.0030.0337.21
4.4.40.0030.0377.21
4.4.30.0000.0207.21
4.4.20.0000.0237.21
4.4.10.0070.0307.21
4.4.00.0030.0477.21
4.3.110.0030.0307.21
4.3.100.0030.0137.21
4.3.90.0070.0177.21
4.3.80.0000.0277.21
4.3.70.0070.0237.21
4.3.60.0030.0237.21
4.3.50.0070.0177.21
4.3.40.0070.0477.21
4.3.30.0000.0177.21
4.3.20.0000.0377.21
4.3.10.0030.0207.21
4.3.00.0030.0337.21

preferences:
43.95 ms | 400 KiB | 5 Q