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["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.0070.01418.30
8.3.50.0140.00521.89
8.3.40.0070.00718.79
8.3.30.0140.00319.12
8.3.20.0040.00420.31
8.3.10.0040.00423.71
8.3.00.0050.00319.20
8.2.180.0070.00716.38
8.2.170.0120.00322.96
8.2.160.0100.00320.34
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0030.00619.08
8.2.110.0090.00022.26
8.2.100.0070.01018.03
8.2.90.0040.00419.30
8.2.80.0040.00417.97
8.2.70.0070.00417.75
8.2.60.0080.00417.93
8.2.50.0030.00718.07
8.2.40.0030.00720.07
8.2.30.0030.00518.41
8.2.20.0030.00517.72
8.2.10.0030.00517.96
8.2.00.0000.00817.66
8.1.280.0070.00725.92
8.1.270.0080.00021.96
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0040.00423.70
8.1.230.0040.00819.15
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0070.00317.25
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0070.00318.52
8.1.160.0040.00421.91
8.1.150.0040.00418.64
8.1.140.0000.00717.38
8.1.130.0000.00717.85
8.1.120.0050.00217.31
8.1.110.0000.00717.26
8.1.100.0070.00017.42
8.1.90.0000.00717.39
8.1.80.0000.00717.30
8.1.70.0030.00317.32
8.1.60.0030.00517.48
8.1.50.0030.00617.54
8.1.40.0040.00417.43
8.1.30.0040.00417.52
8.1.20.0040.00417.46
8.1.10.0080.00017.41
8.1.00.0050.00317.50
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0080.00018.44
8.0.270.0070.00017.31
8.0.260.0000.00617.25
8.0.250.0040.00417.02
8.0.240.0030.00517.03
8.0.230.0000.00716.91
8.0.220.0050.00316.86
8.0.210.0030.00616.77
8.0.200.0030.00316.95
8.0.190.0000.00817.01
8.0.180.0040.00416.91
8.0.170.0000.00716.88
8.0.160.0070.00016.82
8.0.150.0030.00316.82
8.0.140.0000.00716.88
8.0.130.0000.00513.36
8.0.120.0030.00516.73
8.0.110.0040.00416.84
8.0.100.0030.00516.80
8.0.90.0000.00716.84
8.0.80.0070.01016.86
8.0.70.0080.00016.73
8.0.60.0040.00416.93
8.0.50.0070.00016.93
8.0.30.0110.00917.13
8.0.20.0110.00717.40
8.0.10.0030.00516.90
8.0.00.0100.01316.75
7.4.330.0050.00015.07
7.4.320.0060.00016.55
7.4.300.0000.00616.54
7.4.290.0070.00016.44
7.4.280.0040.00416.34
7.4.270.0050.00216.55
7.4.260.0050.00316.55
7.4.250.0000.00716.55
7.4.240.0040.00416.46
7.4.230.0000.00716.41
7.4.220.0140.01116.41
7.4.210.0090.00916.54
7.4.200.0050.00216.28
7.4.190.0000.00716.50
7.4.160.0130.01316.43
7.4.150.0120.00917.40
7.4.140.0120.00917.86
7.4.130.0100.00916.63
7.4.120.0110.00716.46
7.4.110.0050.01316.44
7.4.100.0140.00316.36
7.4.90.0060.01616.39
7.4.80.0100.01019.39
7.4.70.0060.01016.52
7.4.60.0120.00316.57
7.4.50.0060.00016.20
7.4.40.0130.00816.45
7.4.30.0120.00316.54
7.4.00.0000.01514.99
7.3.330.0060.00013.25
7.3.320.0020.00213.11
7.3.310.0070.00016.33
7.3.300.0040.00416.32
7.3.290.0070.00716.39
7.3.280.0090.00716.33
7.3.270.0110.00617.40
7.3.260.0100.01016.52
7.3.250.0110.01516.35
7.3.240.0110.00816.54
7.3.230.0070.01016.52
7.3.210.0040.01416.45
7.3.200.0090.01219.39
7.3.190.0110.00716.52
7.3.180.0060.00916.30
7.3.170.0060.00916.39
7.3.160.0160.00016.34
7.3.120.0070.00714.60
7.2.330.0100.01016.68
7.2.320.0120.00616.62
7.2.310.0120.00616.50
7.2.300.0060.01116.38
7.2.290.0110.01116.69
7.2.00.0030.00919.49
7.1.100.0030.00917.68
7.1.70.0040.00417.00
7.1.60.0130.01019.70
7.1.50.0070.01016.83
7.1.00.0030.07722.57
7.0.200.0000.00816.78
7.0.140.0000.07721.95
7.0.60.0100.05019.91
7.0.50.0070.07017.96
7.0.40.0030.04320.07
7.0.30.0200.05319.97
7.0.20.0370.07720.33
7.0.10.0130.07320.13
7.0.00.0170.05720.09
5.6.280.0070.07020.98
5.6.210.0100.07320.60
5.6.200.0030.04318.08
5.6.190.0030.04720.48
5.6.180.0370.06720.60
5.6.170.0200.03720.33
5.6.160.0100.06020.51
5.6.150.0100.07718.08
5.6.140.0030.05718.18
5.6.130.0070.08018.22
5.6.120.0100.07021.00
5.6.110.0100.04021.00
5.6.100.0000.09321.10
5.6.90.0100.07021.03
5.6.80.0070.08020.43
5.5.350.0170.03020.46
5.5.340.0070.07317.92
5.5.330.0070.08020.56
5.5.320.0400.03720.41
5.5.310.0230.03720.41
5.5.300.0070.04017.98
5.5.290.0070.07317.95
5.5.280.0100.05720.84
5.5.270.0100.07720.79
5.5.260.0000.09020.89
5.5.250.0130.03020.64
5.5.240.0100.07320.34
5.4.450.2170.04719.46
5.4.440.1570.04019.10
5.4.430.1700.04319.56
5.4.420.1530.03019.48
5.4.410.1730.04319.45
5.4.400.1800.03319.07
5.4.390.1470.04719.10
5.4.380.1500.03719.08
5.4.370.1570.03718.93
5.4.360.1730.03019.24
5.4.350.1500.03719.22
5.4.340.1770.04318.77
5.4.320.1730.05018.93
5.4.310.1730.05018.91
5.4.300.1700.04718.77
5.4.290.1830.03719.05
5.4.280.1830.04018.77
5.4.270.1770.04318.93
5.4.260.0000.08019.08
5.4.250.0100.07019.15
5.4.240.0070.07718.93
5.4.230.0930.06319.23
5.4.220.1570.04319.23
5.4.210.1570.03319.05
5.4.200.1800.04719.21
5.4.190.1700.04318.76
5.4.180.1770.04719.15
5.4.170.1800.04019.15
5.4.160.1700.03019.08
5.4.150.1470.05319.22
5.4.140.1900.04016.38
5.4.130.1600.03716.29
5.4.120.1830.04716.45
5.4.110.1800.05016.30
5.4.100.1930.04716.41
5.4.90.1230.04016.34
5.4.80.1570.03016.16
5.4.70.1570.03716.05
5.4.60.1770.04316.37
5.4.50.1830.03716.36
5.4.40.1430.03316.36
5.4.30.1500.03716.36
5.4.20.1600.03316.45
5.4.10.1570.03316.40
5.4.00.1730.04315.82
5.3.290.1470.03714.50
5.3.280.2670.02714.53
5.3.270.1630.03014.48
5.3.260.1470.03714.46
5.3.250.1930.04314.46
5.3.240.1800.03714.54
5.3.230.2000.03714.58
5.3.220.2030.05014.41
5.3.210.1900.04014.61
5.3.200.1570.03714.40
5.3.190.1570.03714.55
5.3.180.1700.03714.55
5.3.170.1670.03314.51
5.3.160.1570.04014.40
5.3.150.1670.02314.43
5.3.140.1730.03714.39
5.3.130.1670.03714.45
5.3.120.1930.05314.50
5.3.110.1670.03314.45
5.3.100.1400.03313.99
5.3.90.1770.03313.85
5.3.80.2000.04313.81
5.3.70.2000.04713.96
5.3.60.1870.04014.09
5.3.50.1900.04313.91
5.3.40.1870.04013.89
5.3.30.1870.04013.95
5.3.20.1700.03013.66
5.3.10.1930.04013.60
5.3.00.1930.03713.50
5.2.170.1470.02011.00
5.2.160.1400.02711.30
5.2.150.1670.03711.30
5.2.140.1530.02711.08
5.2.130.1330.03311.04
5.2.120.1500.04311.01
5.2.110.1670.03010.94
5.2.100.1670.03011.04
5.2.90.1530.03710.95
5.2.80.1400.02711.05
5.2.70.1630.03011.14
5.2.60.2430.02311.06
5.2.50.1770.03010.95
5.2.40.1400.03710.83
5.2.30.1370.03311.02
5.2.20.1130.03010.81
5.2.10.1200.04010.93
5.2.00.1370.03310.66
5.1.60.1370.0339.89
5.1.50.1330.03310.07
5.1.40.1330.02710.09
5.1.30.1400.02710.24
5.1.20.1200.03010.32
5.1.10.1270.03310.15
5.1.00.1100.0239.99
5.0.50.0670.0308.62
5.0.40.0600.0178.55
5.0.30.0570.0308.19
5.0.20.0800.0278.18
5.0.10.0730.0278.14
5.0.00.0600.0278.31
4.4.90.0670.0177.86
4.4.80.0600.0177.86
4.4.70.0730.0237.86
4.4.60.0630.0137.86
4.4.50.0600.0177.86
4.4.40.0500.0237.86
4.4.30.0570.0177.86
4.4.20.0770.0237.86
4.4.10.0630.0237.86
4.4.00.0730.0407.86
4.3.110.0730.0137.86
4.3.100.0700.0137.86
4.3.90.0630.0177.86
4.3.80.0770.0337.86
4.3.70.0700.0177.86
4.3.60.0730.0207.86
4.3.50.0800.0177.86
4.3.40.0600.0307.86
4.3.30.0400.0277.86
4.3.20.0300.0207.86
4.3.10.0370.0277.86
4.3.00.0300.0177.86

preferences:
32.66 ms | 401 KiB | 5 Q