3v4l.org

run code in 300+ PHP versions simultaneously
<?php $students = array ( array("Students Name" =>"Akash", "Roll No." =>01, "Subject" =>"c++","Gender" =>"male"), array("Students Name" =>"Dinesh", "Roll No." =>02, "Subject" =>"c++","Gender" =>"male"), array("Students Name" =>"Satish", "Roll No." =>03, "Subject" =>"c++","Gender" =>"male"), array("Students Name" =>"Alok", "Roll No." =>04, "Subject" =>"c++","Gender" =>"male"), ); echo '<pre>'; //print_r($students); echo $students[0][1][2][3]["Students Name"]; echo $students[1]["Roll No."];

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.0170.00318.31
8.3.50.0090.00921.94
8.3.40.0070.00718.79
8.3.30.0100.00319.09
8.3.20.0070.00020.20
8.3.10.0000.00823.52
8.3.00.0080.00019.13
8.2.180.0110.01116.50
8.2.170.0170.00322.96
8.2.160.0030.01020.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0020.00526.16
8.2.120.0060.00319.06
8.2.110.0070.00321.10
8.2.100.0040.00817.97
8.2.90.0060.00319.22
8.2.80.0090.00017.97
8.2.70.0070.00317.75
8.2.60.0000.00817.93
8.2.50.0030.00518.07
8.2.40.0030.00619.88
8.2.30.0000.00818.36
8.2.20.0030.00517.80
8.2.10.0000.00717.80
8.2.00.0050.00217.78
8.1.280.0160.00425.92
8.1.270.0050.00322.12
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0030.00621.47
8.1.230.0100.00017.45
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.13
8.1.190.0140.00016.75
8.1.180.0080.00018.10
8.1.170.0050.00318.40
8.1.160.0080.00021.93
8.1.150.0040.00418.45
8.1.140.0040.00417.45
8.1.130.0070.00017.77
8.1.120.0000.00817.38
8.1.110.0000.00817.36
8.1.100.0040.00417.30
8.1.90.0000.00717.38
8.1.80.0030.00517.34
8.1.70.0000.00717.30
8.1.60.0040.00417.56
8.1.50.0040.00417.37
8.1.40.0040.00417.43
8.1.30.0030.00617.43
8.1.20.0040.00417.47
8.1.10.0040.00417.46
8.1.00.0000.00717.51
8.0.300.0000.00718.77
8.0.290.0070.00016.88
8.0.280.0030.00318.39
8.0.270.0030.00317.35
8.0.260.0060.00017.29
8.0.250.0030.00317.07
8.0.240.0040.00416.88
8.0.230.0000.00816.98
8.0.220.0000.00716.77
8.0.210.0040.00416.86
8.0.200.0030.00316.83
8.0.190.0000.00716.89
8.0.180.0000.00716.86
8.0.170.0040.00416.90
8.0.160.0000.00716.86
8.0.150.0040.00416.78
8.0.140.0000.00816.73
8.0.130.0030.00313.27
8.0.120.0040.00416.82
8.0.110.0030.00516.77
8.0.100.0050.00316.70
8.0.90.0040.00416.91
8.0.80.0040.01216.89
8.0.70.0070.00016.77
8.0.60.0040.00416.75
8.0.50.0040.00416.73
8.0.30.0130.00717.01
8.0.20.0130.00717.40
8.0.10.0040.00416.83
8.0.00.0130.01016.77
7.4.330.0000.00515.00
7.4.320.0000.00616.50
7.4.300.0000.00616.44
7.4.290.0000.00716.41
7.4.280.0070.00316.46
7.4.270.0000.00716.34
7.4.260.0040.00416.43
7.4.250.0040.00416.37
7.4.240.0070.00016.53
7.4.230.0000.00716.29
7.4.220.0110.00716.44
7.4.210.0080.00816.53
7.4.200.0030.00316.35
7.4.190.0030.00316.47
7.4.160.0090.00916.47
7.4.150.0100.01017.40
7.4.140.0110.01017.86
7.4.130.0120.00516.53
7.4.120.0120.00716.40
7.4.110.0120.00916.37
7.4.100.0110.00616.66
7.4.90.0120.00816.39
7.4.80.0170.00019.39
7.4.70.0130.00416.67
7.4.60.0090.00616.50
7.4.50.0030.00316.70
7.4.40.0130.00316.50
7.4.30.0160.00716.62
7.4.00.0000.01614.99
7.3.330.0030.00513.19
7.3.320.0060.00013.09
7.3.310.0030.00316.08
7.3.300.0000.00716.24
7.3.290.0030.01916.35
7.3.280.0120.00616.33
7.3.270.0070.01017.40
7.3.260.0100.00716.54
7.3.250.0120.00616.27
7.3.240.0150.00416.49
7.3.230.0100.00716.39
7.3.210.0040.01516.46
7.3.200.0090.01519.39
7.3.190.0100.01316.33
7.3.180.0130.00316.27
7.3.170.0040.01116.43
7.3.160.0100.00616.57
7.3.120.0030.01014.58
7.2.330.0070.01416.59
7.2.320.0030.01916.43
7.2.310.0110.00816.65
7.2.300.0080.00816.32
7.2.290.0060.01116.64
7.1.100.0130.00018.23
7.1.70.0030.00717.13
7.1.60.0100.01319.70
7.1.50.0130.00916.77
7.1.00.0000.07722.50
7.0.200.0000.01116.72
7.0.140.0070.07022.12
7.0.60.0130.07320.01
7.0.50.0070.08317.66
7.0.40.0170.04020.04
7.0.30.0300.03720.18
7.0.20.0270.06020.33
7.0.10.0070.07020.00
7.0.00.0070.08320.03
5.6.280.0030.07321.02
5.6.210.0070.04720.51
5.6.200.0100.07318.12
5.6.190.0100.05720.67
5.6.180.0170.05020.48
5.6.170.0330.04020.40
5.6.160.0070.05320.47
5.6.150.0070.08018.11
5.6.140.0100.07318.18
5.6.130.0000.04718.21
5.6.120.0100.03720.97
5.6.110.0100.08021.11
5.6.100.0100.06321.04
5.6.90.0070.07321.09
5.6.80.0070.04020.39
5.5.350.0000.07020.38
5.5.340.0030.08017.92
5.5.330.0100.04320.37
5.5.320.0170.04720.13
5.5.310.0330.07020.25
5.5.300.0030.05317.92
5.5.290.0030.04017.96
5.5.280.0070.08320.73
5.5.270.0030.06720.97
5.5.260.0070.08720.68
5.5.250.0100.08320.68
5.5.240.3570.04720.18
5.4.450.0530.04325.28
5.4.440.0300.05319.54
5.4.430.0300.04019.41
5.4.420.0600.03719.57
5.4.410.0170.03719.25
5.4.400.0370.04019.09
5.4.390.0270.04018.93
5.4.380.0270.05718.49
5.4.370.0300.04718.63
5.4.360.0470.06318.50
5.4.350.0500.05018.69
5.4.340.0370.07318.56
5.4.320.0060.03712.46
5.4.310.0060.04012.45
5.4.300.0060.04812.45
5.4.290.0060.04012.45
5.4.280.0060.03612.35
5.4.270.0070.03512.35
5.4.260.0080.03612.35
5.4.250.0040.04012.35
5.4.240.0040.03912.35
5.4.230.0050.03812.34
5.4.220.0060.03712.34
5.4.210.0110.03312.34
5.4.200.0060.04112.34
5.4.190.0050.04012.34
5.4.180.0060.05412.34
5.4.170.0070.06212.35
5.4.160.0070.05512.34
5.4.150.0120.06112.34
5.4.140.0150.06012.02
5.4.130.0090.06712.02
5.4.120.0150.03711.97
5.4.110.0110.05511.96
5.4.100.0080.03911.96
5.4.90.0110.03511.96
5.4.80.0060.04711.97
5.4.70.0110.04711.96
5.4.60.0060.05211.96
5.4.50.0070.03811.96
5.4.40.0050.05511.95
5.4.30.0040.05311.95
5.4.20.0080.03911.95
5.4.10.0070.03611.95
5.4.00.0030.04311.44
5.3.290.0090.03712.80
5.3.280.0060.04712.71
5.3.270.0050.04112.72
5.3.260.0090.03712.72
5.3.250.0040.04212.71
5.3.240.0090.03612.72
5.3.230.0040.04012.71
5.3.220.0230.07012.68
5.3.210.0070.05912.68
5.3.200.0050.06712.68
5.3.190.0110.05112.68
5.3.180.0060.05412.67
5.3.170.0050.05612.67
5.3.160.0060.05512.67
5.3.150.0050.04512.68
5.3.140.0080.03612.66
5.3.130.0050.04112.66
5.3.120.0080.04012.66
5.3.110.0060.04012.66
5.3.100.0070.03612.12
5.3.90.0060.04012.08
5.3.80.0090.04712.08
5.3.70.0100.05012.08
5.3.60.0070.03812.06
5.3.50.0070.03512.00
5.3.40.0090.04812.00
5.3.30.0070.05011.94
5.3.20.0020.04111.73
5.3.10.0090.03611.69
5.3.00.0050.04511.69
5.2.170.0050.0299.18
5.2.160.0070.0269.18
5.2.150.0040.0319.18
5.2.140.0040.0439.18
5.2.130.0030.0449.14
5.2.120.0120.0339.14
5.2.110.0130.0339.15
5.2.100.0060.0319.14
5.2.90.0060.0309.14
5.2.80.0100.0299.13
5.2.70.0100.0309.14
5.2.60.0040.0399.09
5.2.50.0030.0339.05
5.2.40.0030.0319.03
5.2.30.0060.0309.02
5.2.20.0040.0309.00
5.2.10.0060.0288.94
5.2.00.0040.0298.80
5.1.60.0040.0258.08
5.1.50.0060.0248.08
5.1.40.0030.0288.06
5.1.30.0080.0248.41
5.1.20.0030.0298.43
5.1.10.0050.0268.16
5.1.00.0040.0258.16
5.0.50.0060.0186.63
5.0.40.0030.0206.50
5.0.30.0080.0276.30
5.0.20.0020.0206.27
5.0.10.0040.0196.25
5.0.00.0040.0306.25
4.4.90.0030.0154.78
4.4.80.0030.0154.75
4.4.70.0050.0144.75
4.4.60.0030.0164.75
4.4.50.0040.0154.77
4.4.40.0030.0274.70
4.4.30.0020.0174.76
4.4.20.0020.0174.84
4.4.10.0040.0144.85
4.4.00.0040.0244.76
4.3.110.0020.0174.66
4.3.100.0040.0144.67
4.3.90.0020.0154.63
4.3.80.0030.0254.58
4.3.70.0030.0154.63
4.3.60.0030.0174.63
4.3.50.0030.0174.63
4.3.40.0030.0274.54
4.3.30.0030.0173.29
4.3.20.0040.0163.27
4.3.10.0030.0143.23
4.3.00.0000.02018.65

preferences:
38.92 ms | 401 KiB | 5 Q