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]["Students Name"];

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.0140.00418.18
8.3.50.0180.01021.97
8.3.40.0070.00718.70
8.3.30.0110.00419.01
8.3.20.0070.00020.14
8.3.10.0040.00423.53
8.3.00.0080.00019.18
8.2.180.0040.01216.63
8.2.170.0060.01222.96
8.2.160.0110.00420.35
8.2.150.0050.00224.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0030.00718.98
8.2.110.0030.00621.93
8.2.100.0080.00420.50
8.2.90.0070.00019.35
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0040.00417.91
8.2.50.0050.00518.07
8.2.40.0040.00420.07
8.2.30.0040.00418.44
8.2.20.0080.00017.61
8.2.10.0000.00817.89
8.2.00.0050.00217.64
8.1.280.0090.00625.92
8.1.270.0040.00422.16
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0030.00622.14
8.1.230.0070.00419.14
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0020.00818.36
8.1.160.0040.00422.02
8.1.150.0000.00718.48
8.1.140.0040.00417.38
8.1.130.0000.00717.81
8.1.120.0000.00717.32
8.1.110.0000.00717.39
8.1.100.0000.00817.25
8.1.90.0000.00717.28
8.1.80.0000.00717.38
8.1.70.0000.00717.33
8.1.60.0030.00517.49
8.1.50.0000.00817.43
8.1.40.0050.00317.36
8.1.30.0050.00317.59
8.1.20.0000.00717.47
8.1.10.0040.00417.55
8.1.00.0000.00717.54
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.45
8.0.270.0070.00017.20
8.0.260.0060.00017.16
8.0.250.0000.00716.94
8.0.240.0070.00016.83
8.0.230.0000.00716.84
8.0.220.0050.00216.83
8.0.210.0030.00616.70
8.0.200.0000.00616.82
8.0.190.0080.00016.86
8.0.180.0040.00416.80
8.0.170.0040.00416.83
8.0.160.0000.00716.73
8.0.150.0070.00016.71
8.0.140.0040.00416.80
8.0.130.0050.00013.27
8.0.120.0080.00016.82
8.0.110.0040.00416.76
8.0.100.0000.00716.81
8.0.90.0000.00716.93
8.0.80.0070.00716.81
8.0.70.0040.00416.80
8.0.60.0000.00716.88
8.0.50.0000.00716.82
8.0.30.0130.00617.03
8.0.20.0150.00817.40
8.0.10.0040.00416.95
8.0.00.0110.00916.85
7.4.330.0050.00015.00
7.4.320.0000.00716.43
7.4.300.0030.00316.55
7.4.290.0000.00816.51
7.4.280.0030.00616.52
7.4.270.0000.00816.52
7.4.260.0070.00016.40
7.4.250.0030.00516.40
7.4.240.0020.00516.49
7.4.230.0030.00316.31
7.4.220.0110.00716.48
7.4.210.0040.01116.46
7.4.200.0030.00316.36
7.4.190.0050.00216.29
7.4.160.0060.00916.45
7.4.150.0080.00817.40
7.4.140.0090.00917.86
7.4.130.0100.00816.49
7.4.120.0090.00816.47
7.4.110.0130.00416.58
7.4.100.0100.01016.39
7.4.90.0060.01116.56
7.4.80.0070.01519.39
7.4.70.0030.01416.58
7.4.60.0120.00416.36
7.4.50.0060.00316.39
7.4.40.0160.00016.61
7.4.30.0080.00816.42
7.4.00.0040.00814.80
7.3.330.0000.00613.07
7.3.320.0000.00512.91
7.3.310.0070.00016.33
7.3.300.0070.00016.20
7.3.290.0070.01316.28
7.3.280.0050.01016.22
7.3.270.0090.00917.40
7.3.260.0060.01216.53
7.3.250.0170.00516.28
7.3.240.0130.00716.34
7.3.230.0070.01016.51
7.3.210.0090.00916.18
7.3.200.0100.02419.39
7.3.190.0030.01816.25
7.3.180.0100.00716.52
7.3.170.0090.00616.27
7.3.160.0100.00716.23
7.3.120.0090.00614.96
7.2.330.0070.01016.59
7.2.320.0170.00016.23
7.2.310.0090.01416.45
7.2.300.0090.00916.66
7.2.290.0090.00916.59
7.2.00.0030.01019.10
7.1.100.0000.00917.81
7.1.70.0090.00616.82
7.1.60.0140.01019.70
7.1.50.0060.00916.78
7.1.00.0100.07022.43
7.0.200.0090.00316.59
7.0.140.0030.07322.17
7.0.60.0030.08020.00
7.0.50.0070.03717.66
7.0.40.0170.07720.07
7.0.30.0200.07720.17
7.0.20.0330.06720.16
7.0.10.0070.04320.20
7.0.00.0170.08019.99
5.6.280.0030.07321.03
5.6.210.0170.06320.66
5.6.200.0170.07318.13
5.6.190.0030.05720.27
5.6.180.0300.07320.49
5.6.170.0330.08320.62
5.6.160.0070.08320.70
5.6.150.0100.07018.17
5.6.140.0100.06018.11
5.6.130.0100.05318.22
5.6.120.0130.07021.10
5.6.110.0130.06021.04
5.6.100.0000.04321.00
5.6.90.0100.04721.00
5.6.80.0130.07320.49
5.5.350.3730.03720.41
5.5.340.0100.07717.92
5.5.330.0130.08020.40
5.5.320.0230.05020.32
5.5.310.0270.07020.28
5.5.300.0100.07717.87
5.5.290.0000.07717.92
5.5.280.0100.07020.88
5.5.270.0170.06320.64
5.5.260.0000.05020.85
5.5.250.0100.08020.65
5.5.240.0100.06720.14
5.4.450.0430.04326.11
5.4.440.0330.05326.08
5.4.430.0270.04325.89
5.4.420.0270.04725.53
5.4.410.0130.05325.31
5.4.400.0470.05325.29
5.4.390.0430.05325.28
5.4.380.0370.06018.68
5.4.370.0430.04018.65
5.4.360.0330.05318.77
5.4.350.0270.06718.72
5.4.340.0170.05018.63
5.4.320.0050.05112.46
5.4.310.0040.04012.45
5.4.300.0070.05212.46
5.4.290.0070.05012.45
5.4.280.0120.03212.35
5.4.270.0090.03312.35
5.4.260.0070.03812.35
5.4.250.0060.03812.35
5.4.240.0080.05312.35
5.4.230.0110.04912.34
5.4.220.0110.06012.34
5.4.210.0090.05312.34
5.4.200.0050.05912.34
5.4.190.0090.05612.34
5.4.180.0050.03712.34
5.4.170.0080.03712.35
5.4.160.0030.04112.35
5.4.150.0070.03612.34
5.4.140.0080.03712.02
5.4.130.0110.04112.02
5.4.120.0080.05011.97
5.4.110.0110.04611.96
5.4.100.0110.04311.97
5.4.90.0090.04011.96
5.4.80.0070.05511.96
5.4.70.0060.05111.96
5.4.60.0050.03711.96
5.4.50.0070.04211.96
5.4.40.0040.03711.95
5.4.30.0070.05011.95
5.4.20.0080.05111.95
5.4.10.0070.05111.95
5.4.00.0120.06711.44
5.3.290.0050.04512.80
5.3.280.0110.05712.71
5.3.270.0090.05512.72
5.3.260.0080.05512.72
5.3.250.0110.05112.72
5.3.240.0110.05112.72
5.3.230.0090.05012.71
5.3.220.0070.05512.68
5.3.210.0060.06112.68
5.3.200.0090.05312.68
5.3.190.0090.05112.68
5.3.180.0090.05212.68
5.3.170.0060.05512.67
5.3.160.0100.05112.67
5.3.150.0060.05612.68
5.3.140.0060.04512.66
5.3.130.0100.03412.65
5.3.120.0090.03712.66
5.3.110.0050.04012.66
5.3.100.0110.04812.12
5.3.90.0080.05212.08
5.3.80.0060.03912.08
5.3.70.0060.03712.07
5.3.60.0070.03512.06
5.3.50.0070.03512.00
5.3.40.0060.03612.00
5.3.30.0050.03611.94
5.3.20.0060.03611.72
5.3.10.0050.04311.69
5.3.00.0100.03511.68
5.2.170.0040.0349.18
5.2.160.0060.0289.18
5.2.150.0040.0319.18
5.2.140.0060.0299.18
5.2.130.0040.0299.14
5.2.120.0050.0289.14
5.2.110.0050.0299.14
5.2.100.0060.0289.14
5.2.90.0070.0279.14
5.2.80.0070.0299.13
5.2.70.0050.0349.14
5.2.60.0070.0409.09
5.2.50.0110.0439.06
5.2.40.0040.0349.03
5.2.30.0080.0439.02
5.2.20.0060.0449.00
5.2.10.0100.0438.91
5.2.00.0070.0418.78
5.1.60.0050.0358.07
5.1.50.0050.0378.06
5.1.40.0050.0278.04
5.1.30.0060.0378.39
5.1.20.0060.0388.41
5.1.10.0070.0348.14
5.1.00.0050.0258.14
5.0.50.0020.0226.62
5.0.40.0030.0196.47
5.0.30.0060.0336.29
5.0.20.0050.0246.26
5.0.10.0040.0286.24
5.0.00.0090.0606.23
4.4.90.0030.0254.78
4.4.80.0030.0234.76
4.4.70.0080.0224.76
4.4.60.0070.0214.75
4.4.50.0020.0284.77
4.4.40.0040.0474.71
4.4.30.0020.0234.76
4.4.20.0050.0354.85
4.4.10.0050.0244.85
4.4.00.0060.0394.76
4.3.110.0060.0204.67
4.3.100.0050.0144.67
4.3.90.0060.0204.64
4.3.80.0040.0324.58
4.3.70.0050.0174.63
4.3.60.0020.0164.63
4.3.50.0060.0134.63
4.3.40.0080.0314.54
4.3.30.0040.0213.29
4.3.20.0030.0223.26
4.3.10.0040.0203.22
4.3.00.0130.00725.28

preferences:
50.5 ms | 401 KiB | 5 Q