3v4l.org

run code in 300+ PHP versions simultaneously
<?php $all = array(array("class"=>array(array("peter","15","male"),array("mary","24","female"),array("jason","22","male")))); print_r($all);

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.50
8.3.50.0080.01222.71
8.3.40.0140.00018.43
8.3.30.0100.00718.96
8.3.20.0040.00420.21
8.3.10.0030.00523.72
8.3.00.0080.00019.13
8.2.180.0070.01116.38
8.2.170.0040.01122.96
8.2.160.0070.00720.39
8.2.150.0060.00924.18
8.2.140.0050.00224.66
8.2.130.0070.00026.16
8.2.120.0050.00320.91
8.2.110.0040.00422.25
8.2.100.0000.01118.16
8.2.90.0000.00719.27
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0050.00218.16
8.2.30.0040.00417.86
8.2.20.0000.00817.62
8.2.10.0000.00817.89
8.2.00.0040.00417.51
8.1.280.0080.01525.92
8.1.270.0090.00021.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00623.83
8.1.230.0080.00419.04
8.1.220.0020.00517.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0050.00518.59
8.1.160.0030.00321.94
8.1.150.0040.00418.74
8.1.140.0080.00017.32
8.1.130.0000.00717.80
8.1.120.0000.00717.22
8.1.110.0040.00417.38
8.1.100.0030.00517.31
8.1.90.0000.00717.39
8.1.80.0000.00717.34
8.1.70.0030.00317.38
8.1.60.0040.00417.48
8.1.50.0000.00817.48
8.1.40.0030.00517.48
8.1.30.0030.00517.47
8.1.20.0070.00017.50
8.1.10.0000.00717.29
8.1.00.0040.00417.39
8.0.300.0020.00518.77
8.0.290.0040.00416.63
8.0.280.0040.00418.36
8.0.270.0000.00717.22
8.0.260.0030.00317.11
8.0.250.0000.00716.73
8.0.240.0000.00816.79
8.0.230.0070.00016.87
8.0.220.0000.00716.78
8.0.210.0070.00016.80
8.0.200.0030.00316.84
8.0.190.0040.00416.85
8.0.180.0040.00416.81
8.0.170.0060.00316.79
8.0.160.0000.00816.88
8.0.150.0070.00016.63
8.0.140.0000.00716.75
8.0.130.0000.00613.17
8.0.120.0040.00416.79
8.0.110.0040.00416.65
8.0.100.0000.00716.79
8.0.90.0030.00516.66
8.0.80.0000.01416.75
8.0.70.0070.00016.77
8.0.60.0030.00616.88
8.0.50.0000.00816.85
8.0.30.0080.01416.81
8.0.20.0120.00917.40
8.0.10.0030.00516.82
8.0.00.0080.00916.69
7.4.330.0020.00215.00
7.4.320.0000.00716.52
7.4.300.0000.00616.52
7.4.290.0080.00016.38
7.4.280.0000.00816.41
7.4.270.0050.00316.51
7.4.260.0000.00716.44
7.4.250.0060.00316.46
7.4.240.0020.00516.35
7.4.230.0000.00716.51
7.4.220.0160.00916.46
7.4.210.0080.00816.55
7.4.200.0040.00416.34
7.4.160.0030.01216.40
7.4.150.0030.01517.40
7.4.140.0080.00817.86
7.4.130.0150.00716.44
7.4.120.0050.01316.55
7.4.110.0090.00916.31
7.4.100.0090.01216.23
7.4.90.0090.00916.44
7.4.80.0140.00619.39
7.4.70.0060.00916.52
7.4.60.0030.01316.36
7.4.50.0000.00516.45
7.4.40.0070.01416.37
7.4.30.0130.01016.35
7.4.00.0050.01314.72
7.3.330.0000.00512.96
7.3.320.0020.00212.85
7.3.310.0020.00515.95
7.3.300.0030.00316.02
7.3.290.0030.01016.12
7.3.280.0080.00816.13
7.3.270.0060.01317.40
7.3.260.0030.01416.32
7.3.250.0090.00916.31
7.3.240.0190.00316.17
7.3.230.0130.00316.39
7.3.210.0160.00616.10
7.3.200.0080.00819.39
7.3.190.0060.01216.52
7.3.180.0070.01016.49
7.3.170.0070.00716.49
7.3.160.0080.00816.25
7.3.120.0110.00714.45
7.3.110.0120.00614.55
7.3.100.0070.00714.63
7.3.90.0080.00614.56
7.3.80.0090.00614.83
7.3.70.0040.01214.46
7.3.60.0000.01414.83
7.3.50.0080.00014.41
7.3.40.0100.00614.73
7.3.30.0030.00614.81
7.3.20.0060.00316.38
7.3.10.0140.00516.23
7.3.00.0160.00616.63
7.2.330.0110.00616.31
7.2.320.0080.00816.25
7.2.310.0120.00416.46
7.2.300.0110.00416.47
7.2.290.0090.01316.35
7.2.250.0100.00714.83
7.2.240.0070.01314.46
7.2.230.0070.01115.00
7.2.220.0080.00414.77
7.2.210.0090.00614.74
7.2.200.0040.01114.86
7.2.190.0100.00714.64
7.2.180.0070.01014.89
7.2.170.0110.00414.84
7.2.130.0110.00616.47
7.2.120.0120.00416.22
7.2.110.0140.00716.84
7.2.100.0160.00816.54
7.2.90.0080.01016.55
7.2.80.0120.01216.29
7.2.70.0110.01116.42
7.2.60.0120.00316.67
7.2.50.0100.00716.57
7.2.40.0160.00316.25
7.2.30.0110.00816.14
7.2.20.0140.00316.07
7.2.10.0060.00916.38
7.2.00.0150.00416.54
7.1.330.0090.00615.77
7.1.320.0040.00815.45
7.1.310.0030.01415.50
7.1.300.0040.00415.77
7.1.290.0030.01415.76
7.1.280.0000.01215.64
7.1.270.0030.01315.67
7.1.260.0000.01615.72
7.1.250.0120.00915.33
7.1.200.0060.00615.71
7.1.70.0160.00617.07
7.1.60.0070.01319.40
7.1.50.0240.00934.85
7.1.00.0030.07722.45
7.0.200.0000.00816.80
7.0.140.0100.07022.11
7.0.60.0070.07019.91
7.0.50.0100.06317.84
7.0.40.0170.08020.24
7.0.30.0530.07320.21
7.0.20.0270.03720.33
7.0.10.0030.06720.25
7.0.00.0030.07320.16
5.6.280.0070.07020.98
5.6.210.0030.08020.66
5.6.200.0100.07318.23
5.6.190.0130.06320.63
5.6.180.3570.03720.46
5.6.170.0230.04720.51
5.6.160.0130.08020.54
5.6.150.0070.04318.21
5.6.140.0030.04018.24
5.6.130.0170.06718.11
5.6.120.0070.05020.98
5.6.110.0030.08721.02
5.6.100.0100.03721.10
5.6.90.0100.06320.96
5.6.80.0070.08320.50
5.6.70.4670.03320.36
5.5.350.0230.07720.40
5.5.340.0030.06317.94
5.5.330.0100.03720.27
5.5.320.0370.04020.39
5.5.310.0330.05320.34
5.5.300.0030.04017.91
5.5.290.0100.08317.95
5.5.280.0100.04720.79
5.5.270.0030.05720.79
5.5.260.0170.05020.83
5.5.250.0130.06320.57
5.5.240.0170.04020.15
5.4.450.1530.03319.55
5.4.440.0270.04019.32
5.4.430.0300.04319.51
5.4.420.0400.05019.56
5.4.410.0270.04319.34
5.4.400.0400.03319.00
5.4.390.0430.04719.14
5.4.380.0370.05018.63
5.4.370.0200.06718.77
5.4.360.0400.05318.80
5.4.350.0370.06018.54
5.4.340.0570.05718.55
5.4.320.0080.04512.48
5.4.310.0110.03812.48
5.4.300.0070.03412.48
5.4.290.0070.03712.48
5.4.280.0060.04012.38
5.4.270.0090.04312.38
5.4.260.0050.03912.38
5.4.250.0090.04712.38
5.4.240.0090.03712.38
5.4.230.0060.03812.37
5.4.220.0070.03612.37
5.4.210.0060.03612.37
5.4.200.0080.03512.37
5.4.190.0100.03112.37
5.4.180.0070.04112.37
5.4.170.0100.03612.38
5.4.160.0040.04112.38
5.4.150.0070.03812.37
5.4.140.0040.03812.05
5.4.130.0120.03512.04
5.4.120.0070.03812.00
5.4.110.0080.03411.99
5.4.100.0050.04812.00
5.4.90.0040.03811.99
5.4.80.0050.04311.99
5.4.70.0090.04111.99
5.4.60.0080.03211.98
5.4.50.0070.03711.99
5.4.40.0080.03211.98
5.4.30.0080.03311.97
5.4.20.0070.03311.97
5.4.10.0110.03011.98
5.4.00.0050.04511.46
5.3.290.0070.03912.80
5.3.280.0060.04112.71
5.3.270.0050.03912.72
5.3.260.0070.03812.72
5.3.250.0080.03712.72
5.3.240.0090.03512.72
5.3.230.0090.03412.71
5.3.220.0040.03912.68
5.3.210.0070.05412.68
5.3.200.0070.03912.68
5.3.190.0050.03812.68
5.3.180.0070.04212.68
5.3.170.0090.03912.67
5.3.160.0050.03712.68
5.3.150.0050.03912.67
5.3.140.0060.03812.66
5.3.130.0110.04412.66
5.3.120.0050.04012.66
5.3.110.0070.03912.66
5.3.100.0120.03412.12
5.3.90.0070.03512.09
5.3.80.0070.03412.08
5.3.70.0100.03212.08
5.3.60.0070.03512.06
5.3.50.0060.04912.01
5.3.40.0080.04112.01
5.3.30.0040.03611.97
5.3.20.0060.04611.75
5.3.10.0080.03211.71
5.3.00.0040.03811.70
5.2.170.0060.0309.21
5.2.160.0060.0299.20
5.2.150.0060.0299.21
5.2.140.0050.0309.20
5.2.130.0080.0369.17
5.2.120.0080.0349.16
5.2.110.0050.0299.17
5.2.100.0070.0289.17
5.2.90.0060.0289.17
5.2.80.0060.0369.16
5.2.70.0020.0349.16
5.2.60.0060.0289.12
5.2.50.0030.0339.08
5.2.40.0070.0289.06
5.2.30.0070.0349.03
5.2.20.0040.0299.03
5.2.10.0040.0308.94
5.2.00.0060.0348.79
5.1.60.0060.0268.06
5.1.50.0060.0248.06
5.1.40.0040.0268.04
5.1.30.0030.0288.39
5.1.20.0050.0278.41
5.1.10.0060.0248.14
5.1.00.0060.0248.13
5.0.50.0050.0276.61
5.0.40.0060.0236.47
5.0.30.0040.0316.29
5.0.20.0070.0166.26
5.0.10.0080.0166.24
5.0.00.0020.0326.23
4.4.90.0030.0164.78
4.4.80.0070.0124.75
4.4.70.0020.0174.75
4.4.60.0030.0244.76
4.4.50.0060.0234.77
4.4.40.0040.0234.70
4.4.30.0060.0204.76
4.4.20.0030.0154.84
4.4.10.0040.0264.85
4.4.00.0050.0284.76
4.3.110.0020.0174.67
4.3.100.0060.0194.67
4.3.90.0030.0274.63
4.3.80.0040.0254.58
4.3.70.0030.0234.63
4.3.60.0030.0264.63
4.3.50.0020.0164.63
4.3.40.0030.0304.54
4.3.30.0000.0243.29
4.3.20.0050.0173.26
4.3.10.0040.0143.22
4.3.00.0070.01715.63

preferences:
43.32 ms | 401 KiB | 5 Q