3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ('1' => (object)array( 'id' => 225, 'user_id' => 1, 'name' => 'Blue Quilted Leather Jacket by Minusey - $499' ), '2' => (object)array( 'id' => 222, 'user_id' => 1, 'name' => 'Darling New Bathtub by Duravit - $6300' ), '3' => (object)array( 'id' => 222, 'user_id' => 1, 'name' => 'Darling New Bathtub by Duravit - $6300' ) ); print_r(array_column($array, 'id'));

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.0130.00618.88
8.3.30.0040.01118.96
8.3.20.0040.00420.34
8.3.10.0000.00721.90
8.3.00.0040.00417.92
8.2.170.0070.00722.96
8.2.160.0090.00620.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0030.00521.09
8.2.110.0030.00622.11
8.2.100.0070.00417.72
8.2.90.0000.00719.22
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0050.00317.93
8.2.50.0030.00518.07
8.2.40.0040.00418.22
8.2.30.0030.00318.16
8.2.20.0080.00017.69
8.2.10.0000.00718.11
8.2.00.0070.00017.79
8.1.270.0000.00823.68
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0030.00623.81
8.1.230.0070.00418.88
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.00
8.1.190.0050.00317.10
8.1.180.0080.00018.10
8.1.170.0040.00418.50
8.1.160.0040.00421.88
8.1.150.0000.00718.80
8.1.140.0040.00417.39
8.1.130.0000.00717.88
8.1.120.0040.00317.32
8.1.110.0040.00417.29
8.1.100.0000.00717.41
8.1.90.0070.00017.39
8.1.80.0000.00717.28
8.1.70.0040.00417.32
8.1.60.0030.00617.56
8.1.50.0040.00417.48
8.1.40.0060.00317.40
8.1.30.0000.00817.64
8.1.20.0000.00717.54
8.1.10.0020.00517.41
8.1.00.0040.00417.48
8.0.300.0030.00618.77
8.0.290.0040.00416.58
8.0.280.0070.00018.38
8.0.270.0000.00817.09
8.0.260.0030.00317.05
8.0.250.0070.00016.98
8.0.240.0000.00816.93
8.0.230.0000.00716.98
8.0.220.0070.00016.93
8.0.210.0000.00716.84
8.0.200.0000.00616.93
8.0.190.0070.00016.96
8.0.180.0030.00316.80
8.0.170.0050.00216.78
8.0.160.0040.00416.99
8.0.150.0030.00316.76
8.0.140.0000.00716.87
8.0.130.0000.00613.37
8.0.120.0050.00316.84
8.0.110.0040.00416.72
8.0.100.0000.00716.67
8.0.90.0040.00416.84
8.0.80.0070.01016.86
8.0.70.0000.00716.74
8.0.60.0040.00416.95
8.0.50.0000.00716.76
8.0.30.0110.01417.06
8.0.20.0130.00817.40
8.0.10.0040.00416.94
8.0.00.0070.00916.72
7.4.330.0000.00515.07
7.4.320.0060.00016.58
7.4.300.0000.00616.57
7.4.290.0000.00816.53
7.4.280.0040.00416.42
7.4.270.0040.00416.54
7.4.260.0050.00216.52
7.4.250.0000.00816.29
7.4.240.0030.00516.52
7.4.230.0050.00316.31
7.4.220.0040.01416.63
7.4.210.0000.01416.53
7.4.200.0000.00716.53
7.4.160.0060.00916.35
7.4.150.0140.00417.40
7.4.140.0090.01117.86
7.4.130.0130.00516.57
7.4.120.0110.00716.38
7.4.110.0160.00416.30
7.4.100.0130.00316.46
7.4.90.0070.01016.49
7.4.80.0180.00619.39
7.4.70.0070.01016.43
7.4.60.0070.01016.53
7.4.50.0000.00916.20
7.4.40.0090.00916.52
7.4.30.0090.00616.36
7.4.00.0030.01214.99
7.3.330.0050.00013.11
7.3.320.0020.00213.20
7.3.310.0000.00716.30
7.3.300.0000.00716.12
7.3.290.0100.00316.21
7.3.280.0050.01316.25
7.3.270.0030.01417.40
7.3.260.0080.01016.28
7.3.250.0110.00916.14
7.3.240.0110.00616.23
7.3.230.0100.00716.39
7.3.210.0110.00616.34
7.3.200.0120.00919.39
7.3.190.0130.00916.51
7.3.180.0060.01016.57
7.3.170.0060.01016.44
7.3.160.0150.00016.31
7.3.120.0060.00614.73
7.2.330.0100.00716.61
7.2.320.0060.01516.39
7.2.310.0060.01116.57
7.2.300.0150.00816.27
7.2.290.0070.01516.51
7.2.60.0000.01316.98
7.2.00.0070.01019.50
7.1.200.0100.00315.55
7.1.100.0000.01218.06
7.1.70.0040.00817.06
7.1.60.0060.01519.25
7.1.50.0040.00716.62
7.1.00.0030.07022.34
7.0.200.0020.00516.71
7.0.140.0000.07722.10
7.0.60.0200.06720.00
7.0.50.0130.07317.90
7.0.40.0100.08720.15
7.0.30.0300.08020.15
7.0.20.0300.08020.24
7.0.10.0130.03720.17
7.0.00.0100.06720.25
5.6.280.0130.06320.82
5.6.210.0030.06320.60
5.6.200.0000.04718.17
5.6.190.0030.04320.27
5.6.180.0300.03320.57
5.6.170.0300.07720.49
5.6.160.0070.07020.38
5.6.150.0100.04318.16
5.6.140.0070.05318.08
5.6.130.0070.04018.14
5.6.120.0070.04021.02
5.6.110.0000.04721.13
5.6.100.0070.05321.13
5.6.90.0030.09021.07
5.6.80.0130.07720.38
5.5.350.0300.08320.39
5.5.340.0030.08017.92
5.5.330.0000.04720.45
5.5.320.0230.08020.24
5.5.310.0230.05320.20
5.5.300.0100.07317.96
5.5.290.0100.08017.95
5.5.280.0100.08320.73
5.5.270.0030.05320.75
5.5.260.0070.04020.79
5.5.250.0170.07320.79
5.5.240.0070.07320.36
5.4.450.0230.08019.42
5.4.440.0270.06319.46
5.4.430.0170.08319.57
5.4.420.0230.07719.42
5.4.410.0170.07019.23
5.4.400.0230.07019.14
5.4.390.0200.06719.06
5.4.380.0270.06719.13
5.4.370.0130.07019.24
5.4.360.0270.06019.26
5.4.350.0170.07718.81
5.4.340.0270.07019.13
5.4.320.0170.04019.24
5.4.310.0200.06319.09
5.4.300.0330.06719.10
5.4.290.0270.06319.13
5.4.280.0200.04719.08
5.4.270.0170.04019.10
5.4.260.0200.07718.91
5.4.250.0200.04319.20
5.4.240.0330.03318.89
5.4.230.0270.06719.13
5.4.220.0270.03318.87
5.4.210.0300.05719.25
5.4.200.0300.04019.16
5.4.190.0300.06018.77
5.4.180.0230.06719.07
5.4.170.0300.05019.07
5.4.160.0230.04719.06
5.4.150.0230.07319.11
5.4.140.0230.04316.44
5.4.130.0200.04016.54
5.4.120.0100.06016.28
5.4.110.0300.07016.50
5.4.100.0270.06716.49
5.4.90.0230.05716.39
5.4.80.0130.06016.48
5.4.70.0200.07016.37
5.4.60.0200.07016.39
5.4.50.0230.05316.17
5.4.40.0170.03316.48
5.4.30.0230.03316.36
5.4.20.0070.04016.18
5.4.10.0170.03316.40
5.4.00.0100.03715.80
5.3.290.0200.06014.57
5.3.280.0200.07014.45
5.3.270.0200.06714.65
5.3.260.0200.05014.55
5.3.250.0130.05014.58
5.3.240.0300.03314.45
5.3.230.0230.06314.50
5.3.220.0200.05714.43
5.3.210.0300.06314.54
5.3.200.0270.06714.44
5.3.190.0200.05714.59
5.3.180.0370.04314.51
5.3.170.0300.07014.65
5.3.160.0270.07014.59
5.3.150.0270.07314.51
5.3.140.0230.04014.40
5.3.130.0030.04714.48
5.3.120.0270.04314.49
5.3.110.0100.04014.49
5.3.100.0270.04314.12
5.3.90.0170.03313.89
5.3.80.0100.04013.96
5.3.70.0200.04313.99
5.3.60.0170.03313.95
5.3.50.0200.03713.92
5.3.40.0170.04313.99
5.3.30.0100.04313.89
5.3.20.0070.04013.89
5.3.10.0170.06013.89
5.3.00.0100.05013.89
5.2.170.0030.03713.89
5.2.160.0070.03313.89
5.2.150.0230.02713.89
5.2.140.0200.02713.89
5.2.130.0130.02313.89
5.2.120.0100.03013.89
5.2.110.0170.02713.89
5.2.100.0100.03313.89
5.2.90.0100.03013.89
5.2.80.0100.03313.89
5.2.70.0170.02313.89
5.2.60.0130.02713.89
5.2.50.0130.03313.89
5.2.40.0100.03313.89
5.2.30.0070.03013.89
5.2.20.0100.05313.89
5.2.10.0070.03013.89
5.2.00.0030.03313.89
5.1.60.0170.02013.89
5.1.50.0030.03013.89
5.1.40.0130.02313.89
5.1.30.0070.03713.89
5.1.20.0100.03013.89
5.1.10.0100.02313.89
5.1.00.0070.02713.89
5.0.50.0070.02013.89
5.0.40.0030.02013.89
5.0.30.0100.03313.89
5.0.20.0000.02313.89
5.0.10.0030.03313.89
5.0.00.0070.04313.89
4.4.90.0070.01313.89
4.4.80.0070.02313.89
4.4.70.0070.01313.89
4.4.60.0070.01713.89
4.4.50.0030.01713.89
4.4.40.0030.02713.89
4.4.30.0030.02013.89
4.4.20.0030.01713.89
4.4.10.0070.01713.89
4.4.00.0070.02313.89
4.3.110.0030.01713.89
4.3.100.0070.01313.89
4.3.90.0070.01713.89
4.3.80.0070.05713.89
4.3.70.0130.02713.89
4.3.60.0070.03313.89
4.3.50.0100.03013.89
4.3.40.0070.05013.89
4.3.30.0000.04013.89
4.3.20.0030.03313.89
4.3.10.0030.03713.89
4.3.00.0000.03013.89

preferences:
38.71 ms | 400 KiB | 5 Q