3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( array( 'firstname' => 'Bob', 'lastname' => 'Tomato' ), array( 'firstname' => 'Larry', 'lastname' => 'Cucumber' ) ); print_r(array_column($arr,"lastname"));

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.130.0080.00018.28
8.3.120.0000.00819.06
8.3.110.0000.00820.94
8.3.100.0080.00424.06
8.3.90.0270.01026.77
8.3.80.0210.00923.06
8.3.70.0290.00721.70
8.3.60.0200.01021.57
8.3.50.0210.00723.62
8.3.40.0290.00322.55
8.3.30.0150.01022.86
8.3.20.0150.01023.46
8.3.10.0230.00125.19
8.3.00.0200.00623.16
8.2.250.0080.00018.33
8.2.240.0110.00717.01
8.2.230.0060.00322.58
8.2.220.0080.00337.54
8.2.210.0150.00726.77
8.2.200.0110.00522.82
8.2.190.0170.00521.67
8.2.180.0150.00321.70
8.2.170.0170.00224.87
8.2.160.0150.00423.60
8.2.150.0180.00225.47
8.2.140.0120.00125.71
8.2.130.0120.00226.46
8.2.120.0110.00523.21
8.2.110.0070.00823.48
8.2.100.0140.00322.21
8.2.90.0130.00623.07
8.2.80.0190.00422.37
8.2.70.0220.00122.27
8.2.60.0190.00821.97
8.2.50.0220.00522.42
8.2.40.0180.00823.26
8.2.30.0170.00522.47
8.2.20.0240.00622.21
8.2.10.0170.01122.38
8.2.00.0190.00722.22
8.1.300.0030.00619.97
8.1.290.0220.00728.80
8.1.280.0220.00726.34
8.1.270.0130.00825.38
8.1.260.0120.01126.56
8.1.250.0190.00827.43
8.1.240.0160.00925.27
8.1.230.0170.00424.50
8.1.220.0080.00622.25
8.1.210.0120.00122.82
8.1.200.0110.00422.00
8.1.190.0080.00421.87
8.1.180.0070.00622.43
8.1.170.0050.00722.58
8.1.160.0080.00624.36
8.1.150.0140.00222.72
8.1.140.0170.00622.07
8.1.130.0200.00522.29
8.1.120.0160.00522.10
8.1.110.0150.00822.03
8.1.100.0210.00322.07
8.1.90.0180.00622.11
8.1.80.0170.00722.02
8.1.70.0220.00722.05
8.1.60.0110.00722.10
8.1.50.0090.00522.06
8.1.40.0070.00722.12
8.1.30.0130.00322.17
8.1.20.0100.00422.17
8.1.10.0130.00422.05
8.1.00.0080.01122.08
8.0.300.0140.00623.35
8.0.290.0110.01021.76
8.0.280.0150.00722.56
8.0.270.0230.00221.71
8.0.260.0190.00521.98
8.0.250.0130.00421.81
8.0.240.0160.00421.81
8.0.230.0190.00321.81
8.0.220.0210.00621.79
8.0.210.0210.00321.73
8.0.200.0150.00821.77
8.0.190.0170.00721.80
8.0.180.0190.00421.80
8.0.170.0170.00621.76
8.0.160.0170.00621.74
8.0.150.0250.00221.78
8.0.140.0230.00821.76
8.0.130.0210.00320.00
8.0.120.0170.00721.83
8.0.110.0170.00221.78
8.0.100.0120.00421.75
8.0.90.0130.00421.77
8.0.80.0160.00821.82
8.0.70.0150.00821.85
8.0.60.0170.00621.72
8.0.50.0210.00221.78
8.0.30.0160.00820.36
8.0.20.0170.00920.52
8.0.10.0190.00221.78
8.0.00.0140.01020.04
7.4.330.0170.01120.89
7.4.320.0200.00621.65
7.4.300.0170.00621.60
7.4.290.0130.00621.63
7.4.280.0150.00421.65
7.4.270.0150.00621.65
7.4.260.0200.00221.54
7.4.250.0170.00521.62
7.4.240.0130.00519.96
7.4.230.0170.00521.59
7.4.220.0190.00721.62
7.4.210.0160.01221.64
7.4.200.0170.00421.66
7.4.190.0240.01026.77
7.4.180.0220.01326.77
7.4.160.0250.00321.60
7.4.150.0190.00922.08
7.4.140.0210.00920.83
7.4.130.0180.00719.90
7.4.120.0150.01019.93
7.4.110.0150.00721.54
7.4.100.0160.00721.56
7.4.90.0200.00321.55
7.4.80.0230.00623.08
7.4.70.0200.00721.54
7.4.60.0190.00721.58
7.4.50.0150.00421.65
7.4.40.0150.01021.55
7.4.30.0160.00921.56
7.4.20.0250.00826.77
7.4.10.0120.01018.66
7.4.00.0120.00717.17
7.3.330.0220.00719.80
7.3.320.0190.00519.86
7.3.310.0150.00821.37
7.3.300.0160.00321.38
7.3.290.0170.00721.45
7.3.280.0120.00718.86
7.3.270.0140.00722.08
7.3.260.0180.00521.56
7.3.250.0170.01019.79
7.3.240.0240.00321.54
7.3.230.0160.00921.58
7.3.220.0240.01226.77
7.3.210.0200.00721.44
7.3.200.0180.00723.08
7.3.190.0240.00421.57
7.3.180.0210.00721.53
7.3.170.0120.01321.53
7.3.160.0160.01221.55
7.3.150.0350.00426.77
7.3.140.0170.00826.77
7.3.130.0100.00818.57
7.3.120.0110.00516.93
7.3.110.0090.00716.91
7.3.100.0090.00717.02
7.3.90.0070.00817.10
7.3.80.0070.00816.87
7.3.70.0050.00917.04
7.3.60.0050.00817.08
7.3.50.0060.00816.94
7.3.40.0090.00817.01
7.3.30.0130.00517.02
7.3.20.0160.00617.75
7.3.10.0110.00817.49
7.3.00.0090.00717.63
7.2.340.0280.00626.77
7.2.330.0160.00821.64
7.2.320.0160.00621.48
7.2.310.0190.00721.56
7.2.300.0180.01321.66
7.2.290.0190.00921.61
7.2.280.0290.00726.77
7.2.270.0350.00326.77
7.2.260.0160.00618.73
7.2.250.0140.00617.88
7.2.240.0090.00917.09
7.2.230.0080.01017.16
7.2.220.0100.00617.12
7.2.210.0080.00717.16
7.2.200.0080.00717.18
7.2.190.0050.00917.11
7.2.180.0100.01017.20
7.2.170.0140.00517.15
7.2.160.0080.01117.03
7.2.150.0090.00917.83
7.2.140.0160.00717.85
7.2.130.0090.00717.74
7.2.120.0100.00717.70
7.2.110.0110.00817.66
7.2.100.0070.01117.75
7.2.90.0110.00817.77
7.2.80.0100.01017.61
7.2.70.0100.00817.73
7.2.60.0100.00717.52
7.2.50.0090.00517.82
7.2.40.0110.00717.71
7.2.30.0080.00917.79
7.2.20.0080.00917.71
7.2.10.0090.00717.75
7.2.00.0080.00917.92
7.1.330.0100.00817.20
7.1.320.0110.00617.17
7.1.310.0300.00817.01
7.1.300.0130.00417.06
7.1.290.0110.00717.12
7.1.280.0130.00517.02
7.1.270.0090.01017.11
7.1.260.0120.00617.15
7.1.250.0110.00616.85
7.1.240.0140.00617.55
7.1.230.0120.00817.53
7.1.220.0140.00717.60
7.1.210.0160.00517.48
7.1.200.0140.00817.06
7.1.190.0130.00617.52
7.1.180.0110.00617.41
7.1.170.0120.00617.43
7.1.160.0090.00817.43
7.1.150.0110.00717.60
7.1.140.0110.00617.43
7.1.130.0090.00717.50
7.1.120.0070.01017.47
7.1.110.0150.00517.47
7.1.100.0090.00917.62
7.1.90.0140.00817.51
7.1.80.0160.00517.59
7.1.70.0170.00517.52
7.1.60.0120.00818.01
7.1.50.0170.00617.40
7.1.40.0190.00417.46
7.1.30.0120.01117.53
7.1.20.0120.00917.51
7.1.10.0150.00817.50
7.1.00.0110.02318.48
7.0.330.0110.00817.27
7.0.320.0140.00917.15
7.0.310.0110.01117.28
7.0.300.0080.00917.10
7.0.290.0100.00917.07
7.0.280.0130.00617.10
7.0.270.0120.00717.17
7.0.260.0130.00717.17
7.0.250.0090.00617.21
7.0.240.0110.00817.22
7.0.230.0130.00817.31
7.0.220.0100.01117.14
7.0.210.0150.00617.29
7.0.200.0130.00617.18
7.0.190.0160.00717.28
7.0.180.0120.01317.28
7.0.170.0160.00617.24
7.0.160.0140.00617.31
7.0.150.0160.00517.28
7.0.140.0110.02118.25
7.0.130.0140.00917.28
7.0.120.0140.00717.24
7.0.110.0120.01017.23
7.0.100.0110.00817.18
7.0.90.0140.00917.29
7.0.80.0170.00817.21
7.0.70.0120.00917.17
7.0.60.0130.01817.82
7.0.50.0110.01917.47
7.0.40.0140.01716.94
7.0.30.0110.01816.86
7.0.20.0120.01516.98
7.0.10.0120.01417.00
7.0.00.0110.02417.00
5.6.400.0060.01117.24
5.6.390.0140.00717.38
5.6.380.0140.00917.34
5.6.370.0120.00817.13
5.6.360.0120.00717.37
5.6.350.0110.00817.35
5.6.340.0180.00617.39
5.6.330.0070.01217.43
5.6.320.0130.00817.13
5.6.310.0170.00417.38
5.6.300.0110.01017.33
5.6.290.0110.01017.30
5.6.280.0140.01917.94
5.6.270.0130.00917.35
5.6.260.0170.00717.24
5.6.250.0150.00717.33
5.6.240.0120.00717.31
5.6.230.0140.00517.29
5.6.220.0160.00517.36
5.6.210.0130.01517.95
5.6.200.0130.02117.56
5.6.190.0120.01317.47
5.6.180.0120.02217.52
5.6.170.0110.02117.46
5.6.160.0090.02117.54
5.6.150.0140.02117.40
5.6.140.0130.01417.53
5.6.130.0110.02317.46
5.6.120.0150.01217.48
5.6.110.0100.01617.45
5.6.100.0130.01517.47
5.6.90.0110.02217.43
5.6.80.0130.01517.16
5.6.70.0140.01917.23
5.6.60.0160.01317.21
5.6.50.0070.01717.30
5.6.40.0120.01617.31
5.6.30.0110.02217.27
5.6.20.0140.02117.32
5.6.10.0100.02417.29
5.6.00.0130.02117.32
5.5.380.0120.00917.32
5.5.370.0120.00817.27
5.5.360.0130.00517.31
5.5.350.0110.02117.87
5.5.340.0080.01517.34
5.5.330.0110.01617.32
5.5.320.0120.01617.41
5.5.310.0110.02217.46
5.5.300.0080.02017.31
5.5.290.0090.01917.38
5.5.280.0080.01417.52
5.5.270.0070.01517.44
5.5.260.0090.01517.47
5.5.250.0150.01817.30
5.5.240.0120.01817.20
5.5.230.0120.01717.24
5.5.220.0130.01717.31
5.5.210.0110.01517.22
5.5.200.0130.01917.26
5.5.190.0110.01917.21
5.5.180.0150.02017.30
5.5.170.0140.00717.09
5.5.160.0130.01717.26
5.5.150.0150.01317.21
5.5.140.0150.01917.13
5.5.130.0120.01617.24
5.5.120.0130.01517.25
5.5.110.0090.02117.34
5.5.100.0150.01717.20
5.5.90.0110.02317.24
5.5.80.0110.02117.23
5.5.70.0130.02217.18
5.5.60.0130.01517.23
5.5.50.0100.01717.17
5.5.40.0100.01617.21
5.5.30.0150.02017.27
5.5.20.0130.02017.33
5.5.10.0170.01717.27
5.5.00.0180.01617.11
5.4.450.0090.01816.93
5.4.440.0120.01616.98
5.4.430.0110.01916.93
5.4.420.0090.02016.93
5.4.410.0100.01516.91
5.4.400.0080.02016.87
5.4.390.0080.02116.89
5.4.380.0120.01816.86
5.4.370.0080.01316.85
5.4.360.0070.02316.88
5.4.350.0080.02016.89
5.4.340.0080.02116.87
5.4.330.0130.00616.34
5.4.320.0110.01816.92
5.4.310.0080.01616.88
5.4.300.0080.01316.86
5.4.290.0090.01416.87
5.4.280.0100.01716.88
5.4.270.0120.01116.91
5.4.260.0050.01916.86
5.4.250.0070.02016.88
5.4.240.0070.01716.87
5.4.230.0080.01216.87
5.4.220.0100.01616.86
5.4.210.0100.01416.91
5.4.200.0090.01516.87
5.4.190.0040.02116.88
5.4.180.0110.01816.84
5.4.170.0100.02116.88
5.4.160.0080.01516.84
5.4.150.0100.02016.83
5.4.140.0110.01916.33
5.4.130.0070.01316.33
5.4.120.0100.01116.32
5.4.110.0100.01916.36
5.4.100.0160.01416.35
5.4.90.0100.01716.35
5.4.80.0090.01916.32
5.4.70.0100.01716.35
5.4.60.0100.01216.32
5.4.50.0080.01316.35
5.4.40.0090.01816.33
5.4.30.0090.01816.31
5.4.20.0080.02016.34
5.4.10.0070.01616.32
5.4.00.0090.01516.23
5.3.290.0100.02516.69
5.3.280.0100.02316.65
5.3.270.0130.01316.68
5.3.260.0110.01116.63
5.3.250.0160.02116.67
5.3.240.0090.01616.64
5.3.230.0080.01916.68
5.3.220.0080.01916.67
5.3.210.0100.02316.66
5.3.200.0070.01716.63
5.3.190.0090.02016.68
5.3.180.0090.02116.68
5.3.170.0040.01916.66
5.3.160.0110.02216.63
5.3.150.0070.01616.67
5.3.140.0080.01416.67
5.3.130.0080.02116.67
5.3.120.0070.02316.66
5.3.110.0130.02016.63
5.3.100.0070.02316.52
5.3.90.0070.01516.54
5.3.80.0090.02016.49
5.3.70.0100.01216.49
5.3.60.0080.01416.53
5.3.50.0090.01416.52
5.3.40.0100.02416.52
5.3.30.0120.01616.50
5.3.20.0090.02416.46
5.3.10.0120.02016.44
5.3.00.0100.02316.44

preferences:
28.17 ms | 403 KiB | 5 Q