3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr['inpMisc'] = array(); $arr['inpMisc'][0]['name'] = "my stuff"; $arr['inpMisc'][0]['inpMiscOrdered'] = "2"; $arr['inpMisc'][0]['inpMiscReceived'] = "0"; foreach ($arr as $category => $arrA) { foreach ($arrA as $idx => $arrB) { foreach ($arrB as $k => $v) echo "$category :: $idx :: $k :: $v"; } } ?>

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.70.0160.00616.75
8.3.60.0140.00716.75
8.3.50.0230.00523.00
8.3.40.0100.00718.84
8.3.30.0070.00719.17
8.3.20.0070.00020.20
8.3.10.0060.00321.47
8.3.00.0040.00417.60
8.2.180.0140.00416.50
8.2.170.0130.01022.96
8.2.160.0100.01021.99
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00821.09
8.2.110.0060.00319.07
8.2.100.0080.00317.97
8.2.90.0030.00619.25
8.2.80.0000.00817.97
8.2.70.0030.00517.75
8.2.60.0070.00017.93
8.2.50.0080.00018.10
8.2.40.0030.00618.34
8.2.30.0040.00418.13
8.2.20.0000.00717.77
8.2.10.0040.00418.07
8.2.00.0000.00717.81
8.1.280.0130.00325.92
8.1.270.0060.00323.96
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00322.55
8.1.230.0000.01217.76
8.1.220.0000.00817.79
8.1.210.0060.00318.77
8.1.200.0040.00417.48
8.1.190.0060.00317.23
8.1.180.0030.00518.10
8.1.170.0050.00318.57
8.1.160.0000.00822.12
8.1.150.0000.00818.82
8.1.140.0000.00717.44
8.1.130.0040.00417.86
8.1.120.0000.00817.55
8.1.110.0000.00717.39
8.1.100.0040.00417.37
8.1.90.0030.00517.49
8.1.80.0030.00517.55
8.1.70.0030.00317.46
8.1.60.0090.00017.58
8.1.50.0000.00817.46
8.1.40.0040.00417.60
8.1.30.0030.00517.63
8.1.20.0030.00517.69
8.1.10.0050.00317.59
8.1.00.0000.00717.52
8.0.300.0090.00018.77
8.0.290.0050.00316.63
8.0.280.0030.00318.52
8.0.270.0040.00417.36
8.0.260.0000.00817.20
8.0.250.0000.00716.99
8.0.240.0000.00717.02
8.0.230.0050.00317.00
8.0.220.0030.00316.99
8.0.210.0050.00216.81
8.0.200.0000.00817.00
8.0.190.0040.00416.88
8.0.180.0000.00816.98
8.0.170.0040.00416.97
8.0.160.0000.00716.94
8.0.150.0030.00516.88
8.0.140.0000.00816.88
8.0.130.0030.00313.34
8.0.120.0040.00416.79
8.0.110.0000.00716.92
8.0.100.0070.00016.95
8.0.90.0000.00716.79
8.0.80.0090.00616.87
8.0.70.0040.00416.89
8.0.60.0070.00016.97
8.0.50.0070.00016.90
8.0.30.0130.00716.97
8.0.20.0060.01417.41
8.0.10.0040.00417.13
8.0.00.0090.01116.81
7.4.330.0000.00515.15
7.4.320.0040.00416.46
7.4.300.0060.00016.54
7.4.290.0030.00316.39
7.4.280.0040.00416.47
7.4.270.0030.00616.61
7.4.260.0060.00616.47
7.4.250.0040.00416.51
7.4.240.0000.00816.63
7.4.230.0000.00716.62
7.4.220.0120.00616.73
7.4.210.0030.01016.54
7.4.200.0000.00716.37
7.4.160.0040.01216.50
7.4.150.0090.01517.40
7.4.140.0130.00617.86
7.4.130.0110.00816.54
7.4.120.0100.00716.56
7.4.110.0130.01016.46
7.4.100.0140.00416.44
7.4.90.0030.01516.62
7.4.80.0100.01319.39
7.4.70.0030.01416.58
7.4.60.0120.00616.55
7.4.50.0020.00216.35
7.4.40.0090.00916.63
7.4.30.0090.00616.62
7.4.00.0090.00814.93
7.3.330.0060.00013.29
7.3.320.0000.00513.07
7.3.310.0000.00816.31
7.3.300.0030.00316.37
7.3.290.0090.00516.30
7.3.280.0080.00816.32
7.3.270.0070.01017.40
7.3.260.0140.00316.63
7.3.240.0040.01516.51
7.3.230.0090.01216.39
7.3.210.0100.00716.46
7.3.200.0120.00419.39
7.3.190.0070.01416.29
7.3.180.0030.01316.63
7.3.170.0070.01116.55
7.3.160.0060.00916.37
7.3.120.0080.01214.82
7.3.110.0150.00315.07
7.3.100.0160.00314.89
7.3.90.0090.00614.85
7.3.80.0030.01415.03
7.3.70.0100.00714.85
7.3.60.0100.00614.85
7.3.50.0040.00714.80
7.3.40.0160.00014.79
7.3.30.0030.00614.90
7.3.20.0080.00416.59
7.3.10.0070.00716.77
7.3.00.0000.01416.55
7.2.330.0090.00916.34
7.2.320.0140.00416.64
7.2.310.0060.01216.78
7.2.300.0100.00616.67
7.2.290.0080.00816.63
7.2.250.0090.00615.20
7.2.240.0030.01315.11
7.2.230.0110.00714.95
7.2.220.0100.01015.22
7.2.210.0070.01015.14
7.2.200.0070.00714.99
7.2.190.0060.01115.14
7.2.180.0070.01015.23
7.2.170.0070.01015.02
7.2.00.0000.01219.40
7.1.330.0070.00715.81
7.1.320.0040.00815.56
7.1.310.0140.00315.68
7.1.300.0000.01415.98
7.1.290.0070.00715.85
7.1.280.0040.01215.82
7.1.270.0030.01315.97
7.1.260.0070.00315.69
7.1.100.0080.00318.21
7.1.70.0040.00417.09
7.1.60.0070.01119.40
7.1.50.0070.01716.96
7.1.00.0070.06322.30
7.0.200.0030.00716.74
7.0.140.0000.07722.17
7.0.60.0030.08319.86
7.0.50.0070.05317.66
7.0.40.0100.04020.40
7.0.30.0570.06320.34
7.0.20.0200.08320.20
7.0.10.0030.09320.11
7.0.00.0070.05720.23
5.6.280.0030.06321.02
5.6.210.0070.06720.50
5.6.200.0000.04318.19
5.6.190.0030.09320.77
5.6.180.0270.03720.41
5.6.170.0230.08320.71
5.6.160.0030.04020.49
5.6.150.0070.08318.12
5.6.140.0070.08318.21
5.6.130.0170.06718.21
5.6.120.0100.03721.11
5.6.110.0070.08721.02
5.6.100.0170.07320.93
5.6.90.0070.08721.10
5.6.80.0030.03720.35
5.5.350.3800.04720.32
5.5.340.0030.04017.98
5.5.330.0170.07720.23
5.5.320.0500.06720.29
5.5.310.0270.06020.19
5.5.300.0000.05717.88
5.5.290.0070.03718.01
5.5.280.0030.07320.77
5.5.270.0130.06020.86
5.5.260.0030.09320.79
5.5.250.0130.06020.58
5.5.240.0230.06720.15
5.4.450.0400.04319.57
5.4.440.0270.05719.46
5.4.430.0370.04719.41
5.4.420.0700.03719.26
5.4.410.0200.04019.14
5.4.400.0330.04719.25
5.4.390.0330.04018.92
5.4.380.0400.06318.59
5.4.370.0230.05318.56
5.4.360.0100.06718.50
5.4.350.0400.04318.79
5.4.340.0400.05018.78
5.4.320.0090.03812.46
5.4.310.0100.03812.45
5.4.300.0080.04412.46
5.4.290.0090.03612.45
5.4.280.0070.03412.35
5.4.270.0070.03812.35
5.4.260.0080.03812.35
5.4.250.0080.03712.35
5.4.240.0130.04112.35
5.4.230.0120.06512.34
5.4.220.0080.05412.34
5.4.210.0180.07012.34
5.4.200.0160.06012.34
5.4.190.0060.05312.34
5.4.180.0060.04112.34
5.4.170.0070.04812.35
5.4.160.0190.05212.35
5.4.150.0070.04012.34
5.4.140.0050.04212.03
5.4.130.0090.03612.02
5.4.120.0090.05211.97
5.4.110.0090.04111.96
5.4.100.0060.03911.96
5.4.90.0100.05711.97
5.4.80.0060.04411.96
5.4.70.0120.03411.96
5.4.60.0090.06211.96
5.4.50.0150.05511.96
5.4.40.0090.03611.95
5.4.30.0100.04111.95
5.4.20.0130.04411.95
5.4.10.0090.03511.95
5.4.00.0130.05011.44
5.3.290.0080.03812.80
5.3.280.0080.06412.71
5.3.270.0110.05312.72
5.3.260.0100.05612.72
5.3.250.0100.05312.72
5.3.240.0100.03612.72
5.3.230.0100.04012.71
5.3.220.0060.04012.68
5.3.210.0080.05312.68
5.3.200.0060.05312.68
5.3.190.0060.05012.68
5.3.180.0120.04612.68
5.3.170.0050.04312.67
5.3.160.0090.05112.68
5.3.150.0090.04212.67
5.3.140.0090.03312.66
5.3.130.0090.04112.65
5.3.120.0080.05612.65
5.3.110.0070.04512.65
5.3.100.0120.06212.12
5.3.90.0120.05012.08
5.3.80.0060.05612.07
5.3.70.0070.06312.07
5.3.60.0070.04912.07
5.3.50.0100.04612.00
5.3.40.0080.04712.00
5.3.30.0070.05111.95
5.3.20.0120.05011.73
5.3.10.0110.05711.69
5.3.00.0090.05911.68
5.2.170.0060.0469.18
5.2.160.0060.0539.18
5.2.150.0090.0389.18
5.2.140.0050.0329.18
5.2.130.0090.0269.14
5.2.120.0060.0399.14
5.2.110.0050.0339.14
5.2.100.0070.0309.14
5.2.90.0060.0309.14
5.2.80.0020.0329.14
5.2.70.0070.0289.14
5.2.60.0090.0289.09
5.2.50.0080.0589.05
5.2.40.0060.0519.04
5.2.30.0150.0399.01
5.2.20.0110.0419.00
5.2.10.0100.0278.93
5.2.00.0090.0368.80
5.1.60.0080.0258.09
5.1.50.0090.0258.08
5.1.40.0040.0288.05
5.1.30.0090.0458.41
5.1.20.0080.0488.43
5.1.10.0110.0778.16
5.1.00.0070.0368.16
5.0.50.0140.0386.64
5.0.40.0020.0216.50
5.0.30.0050.0336.32
5.0.20.0060.0246.28
5.0.10.0050.0276.26
5.0.00.0050.0396.25
4.4.90.0070.0174.78
4.4.80.0020.0244.75
4.4.70.0230.0324.76
4.4.60.0050.0214.76
4.4.50.0050.0234.77
4.4.40.0060.0364.71
4.4.30.0060.0224.75
4.4.20.0080.0334.84
4.4.10.0050.0234.85
4.4.00.0030.0304.76
4.3.110.0030.0214.67
4.3.100.0050.0234.66
4.3.90.0060.0204.63
4.3.80.0060.0234.58
4.3.70.0040.0154.63
4.3.60.0040.0244.63
4.3.50.0030.0254.63
4.3.40.0050.0314.54
4.3.30.0030.0173.31
4.3.20.0040.0243.28
4.3.10.0030.0193.24
4.3.00.0000.02015.91

preferences:
41.41 ms | 401 KiB | 5 Q