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_colum($arr)); ?>

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.40.0080.00818.97
8.3.30.0070.00718.84
8.3.20.0040.00418.61
8.3.10.0040.00418.96
8.3.00.0090.00019.38
8.2.170.0070.00722.96
8.2.160.0060.00918.94
8.2.150.0030.00624.18
8.2.140.0040.01124.66
8.2.130.0040.00426.16
8.2.120.0040.00421.00
8.2.110.0070.00322.16
8.2.100.0090.00317.72
8.2.90.0090.00018.22
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0080.00017.93
8.2.50.0030.00618.10
8.2.40.0030.00618.22
8.2.30.0030.00617.59
8.2.20.0080.00317.72
8.2.10.0000.00817.77
8.2.00.0030.00617.68
8.1.270.0000.00823.99
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00623.97
8.1.230.0070.00320.85
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0030.00617.38
8.1.190.0030.00617.23
8.1.180.0030.00518.10
8.1.170.0030.00518.52
8.1.160.0000.00818.88
8.1.150.0040.00418.51
8.1.140.0050.00317.39
8.1.130.0000.00717.34
8.1.120.0040.00417.41
8.1.110.0050.00317.29
8.1.100.0040.00417.38
8.1.90.0070.00017.40
8.1.80.0040.00417.32
8.1.70.0070.00017.29
8.1.60.0070.00017.54
8.1.50.0000.00717.47
8.1.40.0030.00617.47
8.1.30.0040.00417.61
8.1.20.0050.00317.68
8.1.10.0030.00517.47
8.1.00.0040.00417.36
8.0.300.0040.00420.14
8.0.290.0000.00816.75
8.0.280.0040.00418.29
8.0.270.0030.00317.09
8.0.260.0070.00016.86
8.0.250.0060.00316.87
8.0.240.0040.00416.96
8.0.230.0000.00816.98
8.0.220.0070.00016.91
8.0.210.0060.00016.79
8.0.200.0000.00716.93
8.0.190.0060.00317.01
8.0.180.0000.00716.91
8.0.170.0080.00016.96
8.0.160.0000.00816.92
8.0.150.0080.00016.79
8.0.140.0030.00616.73
8.0.130.0000.00513.28
8.0.120.0000.00816.82
8.0.110.0000.00816.85
8.0.100.0000.00716.72
8.0.90.0000.00716.71
8.0.80.0030.01416.88
8.0.70.0000.00816.93
8.0.60.0040.00516.84
8.0.50.0030.00516.78
8.0.30.0050.01417.22
8.0.20.0100.00817.16
8.0.10.0040.00417.01
8.0.00.0130.00416.70
7.4.330.0050.00012.92
7.4.320.0060.00316.43
7.4.300.0030.00316.57
7.4.290.0030.00316.40
7.4.280.0000.00716.62
7.4.270.0040.00416.58
7.4.260.0050.00013.21
7.4.250.0000.00816.35
7.4.240.0000.00716.41
7.4.230.0000.00716.61
7.4.220.0070.01416.55
7.4.210.0150.00316.57
7.4.200.0070.00016.58
7.4.190.0040.00416.64
7.4.160.0170.00316.41
7.4.150.0110.00716.50
7.4.140.0130.00317.86
7.4.130.0070.01116.50
7.4.120.0030.01316.61
7.4.110.0110.00616.60
7.4.100.0070.01016.50
7.4.90.0090.00916.64
7.4.80.0120.00619.39
7.4.70.0140.00716.71
7.4.60.0120.00416.38
7.4.50.0050.00016.42
7.4.40.0100.00616.42
7.4.30.0060.00916.53
7.4.00.0030.00914.89
7.3.330.0030.00313.13
7.3.320.0030.00313.02
7.3.310.0030.00316.25
7.3.300.0080.00016.30
7.3.290.0050.00916.25
7.3.280.0000.01516.29
7.3.270.0150.00316.39
7.3.260.0140.00416.35
7.3.240.0100.00616.55
7.3.230.0030.01416.46
7.3.210.0140.00316.23
7.3.200.0030.01916.44
7.3.190.0080.00816.54
7.3.180.0150.00316.17
7.3.170.0060.01116.43
7.3.160.0070.01016.50
7.3.120.0070.00714.53
7.3.10.0080.00416.54
7.3.00.0080.00416.58
7.2.330.0140.00916.30
7.2.320.0040.01316.57
7.2.310.0070.01016.59
7.2.300.0040.01316.63
7.2.290.0100.00716.62
7.2.130.0040.00716.84
7.2.120.0000.01016.74
7.2.110.0060.00916.87
7.2.100.0040.00416.77
7.2.90.0080.00416.73
7.2.80.0060.00916.63
7.2.70.0080.00616.60
7.2.60.0640.00715.76
7.2.50.0060.00916.84
7.2.40.0090.00616.75
7.2.30.0060.00916.52
7.2.20.0050.00516.78
7.2.10.0000.00816.59
7.2.00.0060.00618.06
7.1.250.0110.00015.65
7.1.200.0000.01215.71
7.1.100.0060.00617.93
7.1.70.0030.00316.75
7.1.60.0070.01019.25
7.1.50.0140.00716.54
7.1.00.0070.07022.31
7.0.200.0030.00516.37
7.0.140.0070.06722.00
7.0.120.0000.07321.96
7.0.60.0130.08019.91
7.0.50.0070.07317.80
7.0.40.0100.05720.04
7.0.30.0630.07020.21
7.0.20.0300.07320.31
7.0.10.0030.08720.13
7.0.00.0100.08020.09
5.6.280.0030.07021.05
5.6.210.0200.07020.50
5.6.200.0070.06718.13
5.6.190.0030.06720.43
5.6.180.3230.05020.50
5.6.170.0200.06320.61
5.6.160.0100.06020.48
5.6.150.0100.06718.11
5.6.140.0130.06318.18
5.6.130.0000.05318.07
5.6.120.0030.06321.00
5.6.110.0230.06021.07
5.6.100.0030.04021.04
5.6.90.0100.03320.94
5.6.80.0100.07320.35
5.6.70.2770.03320.47
5.5.350.0000.08320.32
5.5.340.0030.04017.89
5.5.330.0100.08320.36
5.5.320.0200.06320.27
5.5.310.0300.04320.28
5.5.300.0030.08317.92
5.5.290.0000.08018.00
5.5.280.0070.07720.76
5.5.270.0070.05720.86
5.5.260.0030.04720.72
5.5.250.0130.03320.64
5.5.240.0100.08320.18
5.4.450.0070.08019.45
5.4.440.0030.04319.52
5.4.430.0130.05719.50
5.4.420.0070.06719.50
5.4.410.0000.06319.31
5.4.400.0130.04019.14
5.4.390.0030.07718.91
5.4.380.0030.05019.11
5.4.370.0130.04019.14
5.4.360.0170.06719.17
5.4.350.0030.04319.18
5.4.340.0030.04719.14
5.4.320.0030.04719.17
5.4.310.0130.06719.02
5.4.300.0070.07318.80
5.4.290.0130.06019.00
5.4.280.0070.05018.91
5.4.270.0070.07718.91
5.4.260.0130.06719.15
5.4.250.0130.03019.07
5.4.240.0130.06319.17
5.4.230.0030.07319.17
5.4.220.0000.05318.91
5.4.210.0070.03318.99
5.4.200.0030.05719.13
5.4.190.0070.04718.78
5.4.180.0030.06319.14
5.4.170.0100.04319.09
5.4.160.0070.07719.16
5.4.150.0130.07018.89
5.4.140.0070.07316.25
5.4.130.0070.05016.33
5.4.120.0030.05016.33
5.4.110.0070.07316.23
5.4.100.0100.07316.36
5.4.90.0100.04716.32
5.4.80.0100.04716.27
5.4.70.0070.04016.23
5.4.60.0200.06016.22
5.4.50.0030.07316.37
5.4.40.0030.03716.28
5.4.30.0100.06316.24
5.4.20.0130.07716.33
5.4.10.0000.04716.23
5.4.00.0100.06015.70
5.3.290.0070.04714.63
5.3.280.0030.06014.52
5.3.270.0030.04014.70
5.3.260.0200.06314.53
5.3.250.0070.03714.62
5.3.240.0030.04714.56
5.3.230.0000.08714.50
5.3.220.0100.06714.50
5.3.210.0100.07314.54
5.3.200.0100.05714.45
5.3.190.0030.04714.49
5.3.180.0030.06714.51
5.3.170.0000.05314.48
5.3.160.0100.03714.65
5.3.150.0070.07714.44
5.3.140.0070.05014.48
5.3.130.0000.05714.56
5.3.120.0030.08314.48
5.3.110.0070.05014.46
5.3.100.0130.05013.98
5.3.90.0000.05713.89
5.3.80.0070.03713.96
5.3.70.0030.03713.94
5.3.60.0000.08013.84
5.3.50.0030.06313.88
5.3.40.0100.07013.89
5.3.30.0030.08013.83
5.3.20.0030.05713.66
5.3.10.0100.06713.55
5.3.00.0170.06013.47
5.2.170.0030.05011.03
5.2.160.0030.04011.04
5.2.150.0000.03311.23
5.2.140.0030.05011.04
5.2.130.0000.03311.20
5.2.120.0130.05011.09
5.2.110.0070.06011.18
5.2.100.0070.04311.03
5.2.90.0030.04011.04
5.2.80.0000.06011.03
5.2.70.0030.04011.08
5.2.60.0070.06011.02
5.2.50.0100.06010.94
5.2.40.0030.03310.89
5.2.30.0130.05010.87
5.2.20.0070.04710.92
5.2.10.0000.06310.86
5.2.00.0000.03310.79
5.1.60.0100.0209.99
5.1.50.0030.0539.94
5.1.40.0000.0579.88
5.1.30.0030.05710.23
5.1.20.0100.05010.43
5.1.10.0030.06010.03
5.1.00.0070.05310.21
5.0.50.0000.0438.69
5.0.40.0070.0378.39
5.0.30.0100.0608.39
5.0.20.0070.0278.39
5.0.10.0000.0308.39
5.0.00.0070.0308.39
4.4.90.0000.0238.39
4.4.80.0070.0338.39
4.4.70.0070.0178.39
4.4.60.0000.0408.39
4.4.50.0000.0378.39
4.4.40.0030.0238.39
4.4.30.0070.0308.39
4.4.20.0000.0308.39
4.4.10.0000.0408.39
4.4.00.0100.0308.39
4.3.110.0070.0238.39
4.3.100.0030.0278.39
4.3.90.0030.0208.39
4.3.80.0030.0238.39
4.3.70.0000.0178.39
4.3.60.0030.0308.39
4.3.50.0000.0278.39
4.3.40.0030.0538.39
4.3.30.0000.0338.39
4.3.20.0000.0408.39
4.3.10.0030.0208.39
4.3.00.0000.0178.39

preferences:
39.78 ms | 400 KiB | 5 Q