3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( [ "product_id" => "1138", "product_image" => "/resources/medias/shop/products/shop-6500720--1.png", "product_sku" => "6500722" ], [ "product_id" => "1144", "product_image" => "/resources/medias/shop/products/shop-6501041--1.png", "product_sku" => "6501046" ], [ "product_id" => "113", "product_image" => "/resources/medias/shop/products/shop-6294909--1.png", "product_sku" => "6294915" ] ); $new = array_column($array, "product_id", "product_sku"); Var_dump($new);

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.4.10.0060.00317.55
8.3.140.0050.00516.59
8.3.130.0080.00016.47
8.3.120.0160.00018.50
8.3.110.0030.00620.94
8.3.100.0030.00724.06
8.3.90.0000.00826.77
8.3.80.0040.00418.43
8.3.70.0120.00616.58
8.3.60.0080.01118.43
8.3.50.0110.00517.47
8.3.40.0070.00718.65
8.3.30.0080.00818.54
8.3.20.0040.00418.52
8.3.10.0030.00521.61
8.3.00.0000.00723.51
8.2.260.0070.01116.30
8.2.250.0060.00316.70
8.2.240.0080.00018.84
8.2.230.0070.01322.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0060.00316.38
8.2.190.0140.00716.58
8.2.180.0150.00725.92
8.2.170.0090.00618.79
8.2.160.0120.00319.08
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00721.00
8.2.110.0080.00019.29
8.2.100.0030.00917.78
8.2.90.0040.00417.72
8.2.80.0080.00017.97
8.2.70.0000.00817.78
8.2.60.0040.00418.03
8.2.50.0050.00518.10
8.2.40.0000.00819.22
8.2.30.0000.00720.51
8.2.20.0060.00318.00
8.2.10.0030.00618.15
8.2.00.0030.00517.52
8.1.310.0080.00018.59
8.1.300.0040.00416.01
8.1.290.0040.00430.84
8.1.280.0120.00325.92
8.1.270.0100.00620.58
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00622.07
8.1.230.0040.00820.82
8.1.220.0040.00417.74
8.1.210.0050.00318.89
8.1.200.0030.00717.23
8.1.190.0000.00817.23
8.1.180.0000.00918.10
8.1.170.0040.00418.45
8.1.160.0040.00418.69
8.1.150.0070.00018.80
8.1.140.0000.00720.52
8.1.130.0040.00419.24
8.1.120.0050.00317.40
8.1.110.0040.00417.34
8.1.100.0040.00417.38
8.1.90.0030.00617.40
8.1.80.0000.00717.26
8.1.70.0030.00617.27
8.1.60.0000.00717.41
8.1.50.0040.00417.48
8.1.40.0000.00917.38
8.1.30.0060.00317.58
8.1.20.0000.00717.60
8.1.10.0000.00717.45
8.1.00.0000.00717.27
8.0.300.0000.00819.59
8.0.290.0030.00516.63
8.0.280.0030.00318.37
8.0.270.0000.00717.17
8.0.260.0000.00616.68
8.0.250.0030.00516.91
8.0.240.0000.00716.82
8.0.230.0000.00716.85
8.0.220.0030.00316.80
8.0.210.0030.00316.78
8.0.200.0030.00316.92
8.0.190.0000.00716.79
8.0.180.0000.00816.83
8.0.170.0110.00416.87
8.0.160.0050.00516.81
8.0.150.0040.00416.80
8.0.140.0040.00416.65
8.0.130.0030.00313.21
8.0.120.0030.00516.73
8.0.110.0080.00016.77
8.0.100.0070.00016.67
8.0.90.0040.00416.64
8.0.80.0060.01216.73
8.0.70.0070.00016.75
8.0.60.0000.00716.66
8.0.50.0040.00416.93
8.0.30.0120.00617.02
8.0.20.0120.00717.08
8.0.10.0130.00717.17
8.0.00.0090.01016.99
7.4.330.0000.00515.55
7.4.320.0030.00316.42
7.4.300.0060.00016.53
7.4.290.0000.01116.57
7.4.280.0060.00216.47
7.4.270.0030.00316.33
7.4.260.0000.00716.51
7.4.250.0000.00716.45
7.4.240.0080.00016.34
7.4.230.0030.00316.55
7.4.220.0060.00316.28
7.4.210.0080.00916.44
7.4.200.0070.00016.41
7.4.160.0080.00916.37
7.4.150.0110.00916.72
7.4.140.0100.00917.30
7.4.130.0080.01016.69
7.4.120.0100.00816.57
7.4.110.0110.00916.66
7.4.100.0090.01016.63
7.4.90.0100.00816.55
7.4.80.0090.00916.92
7.4.70.0100.00916.56
7.4.60.0110.00716.51
7.4.50.0100.00916.52
7.4.40.0130.00816.58
7.4.30.0120.00716.50
7.4.20.0110.00816.56
7.4.10.0090.01016.31
7.4.00.0100.00816.20
7.3.330.0050.00012.89
7.3.320.0020.00213.03
7.3.310.0070.00016.07
7.3.300.0030.00315.96
7.3.290.0070.00716.15
7.3.280.0050.01216.13
7.3.270.0110.00916.65
7.3.260.0110.00916.52
7.3.250.0130.00516.73
7.3.240.0100.00916.55
7.3.230.0120.00716.58
7.3.220.0120.00716.54
7.3.210.0100.00816.48
7.3.200.0120.00716.50
7.3.190.0120.00716.46
7.3.180.0110.00616.48
7.3.170.0090.01016.45
7.3.160.0100.00916.38
7.3.150.0130.00616.48
7.3.140.0110.00916.48
7.3.130.0110.00816.16
7.3.120.0110.00716.11
7.3.110.0080.01016.10
7.3.100.0110.00616.15
7.3.90.0100.00816.15
7.3.80.0110.00816.11
7.3.70.0090.00816.13
7.3.60.0080.01115.90
7.3.50.0100.00815.92
7.3.40.0080.01015.96
7.3.30.0130.00615.94
7.3.20.0200.00716.41
7.3.10.0240.00716.42
7.3.00.0150.00916.43
7.2.340.0150.01116.72
7.2.330.0170.00916.67
7.2.320.0160.00916.65
7.2.310.0160.00816.63
7.2.300.0160.01016.68
7.2.290.0150.01016.69
7.2.280.0160.01016.61
7.2.270.0140.01116.68
7.2.260.0150.00916.33
7.2.250.0130.01016.33
7.2.240.0160.00816.32
7.2.230.0140.01116.37
7.2.220.0140.01016.37
7.2.210.0150.00816.26
7.2.200.0140.01016.31
7.2.190.0130.00816.15
7.2.180.0120.01016.20
7.2.170.0140.00916.12
7.2.160.0130.01016.15
7.2.150.0140.00816.66
7.2.140.0150.00916.65
7.2.130.0120.01116.67
7.2.120.0150.00816.67
7.2.110.0150.00916.62
7.2.100.0300.01016.49
7.2.90.0220.00716.55
7.2.80.0200.00916.50
7.2.70.0200.01016.53
7.2.60.0220.00816.53
7.2.50.0200.01016.55
7.2.40.0230.00816.55
7.2.30.0240.00716.58
7.2.20.0210.01016.55
7.2.10.0270.00816.57
7.2.00.0220.00716.47
7.1.330.0210.01115.89
7.1.320.0210.00815.81
7.1.310.0200.00715.86
7.1.300.0180.00815.84
7.1.290.0180.00915.83
7.1.280.0260.00615.75
7.1.270.0300.00815.82
7.1.260.0200.00815.77
7.1.250.0190.00815.83
7.1.240.0580.00915.80
7.1.230.0200.00815.83
7.1.220.0320.00815.61
7.1.210.0280.00815.58
7.1.200.0270.00815.65
7.1.190.0260.00915.64
7.1.180.0340.00615.60
7.1.170.0300.00815.69
7.1.160.0280.00815.61
7.1.150.0360.00815.66
7.1.140.0340.00915.65
7.1.130.0270.00915.65
7.1.120.0270.00915.60
7.1.110.0270.00915.64
7.1.100.0280.00815.60
7.1.90.0300.00815.60
7.1.80.0260.00815.62
7.1.70.0270.00915.62
7.1.60.0290.00917.06
7.1.50.0370.00817.04
7.1.40.0290.00817.00
7.1.30.0300.00716.99
7.1.20.0270.01117.03
7.1.10.0290.00915.64
7.1.00.0350.00915.54
7.0.330.0170.00915.45
7.0.320.0190.00815.52
7.0.310.0180.00915.53
7.0.300.0190.00915.57
7.0.290.0270.00815.50
7.0.280.0200.00915.55
7.0.270.0210.00815.53
7.0.260.0200.00915.55
7.0.250.0250.00415.59
7.0.240.0190.00815.63
7.0.230.0200.00815.61
7.0.220.0150.01315.53
7.0.210.0200.00815.57
7.0.200.0190.00915.54
7.0.190.0260.00715.58
7.0.180.0310.00815.58
7.0.170.0170.01015.53
7.0.160.0190.00815.50
7.0.150.0170.01115.55
7.0.140.0190.01015.55
7.0.130.0190.00915.54
7.0.120.0190.00815.56
7.0.110.0190.01015.54
7.0.100.0220.00815.57
7.0.90.0190.01015.57
7.0.80.0220.00815.56
7.0.70.0180.01015.54
7.0.60.0220.00815.57
7.0.50.0200.00715.51
7.0.40.0240.01015.56
7.0.30.0300.01115.51
7.0.20.0210.00815.53
7.0.10.0250.00915.54
7.0.00.0200.01115.56
5.6.400.0190.01115.71
5.6.390.0180.01015.85
5.6.380.0170.01015.77
5.6.370.0180.01015.91
5.6.360.0210.01015.91
5.6.350.0180.01215.99
5.6.340.0180.01016.00
5.6.330.0200.00915.98
5.6.320.0200.01115.94
5.6.310.0180.01115.93
5.6.300.0190.01115.97
5.6.290.0180.01115.87
5.6.280.0200.01015.91
5.6.270.0220.00915.89
5.6.260.0200.01115.88
5.6.250.0200.01115.92
5.6.240.0190.01115.90
5.6.230.0170.01215.89
5.6.220.0220.00915.89
5.6.210.0210.00915.91
5.6.200.0190.01215.96
5.6.190.0190.01115.94
5.6.180.0220.01115.94
5.6.170.0230.01015.87
5.6.160.0190.01215.94
5.6.150.0190.01115.91
5.6.140.0170.01215.90
5.6.130.0220.00915.89
5.6.120.0180.01315.95
5.6.110.0180.01215.91
5.6.100.0190.01015.92
5.6.90.0180.01115.85
5.6.80.0170.01315.87
5.6.70.0190.01015.87
5.6.60.0200.01015.94
5.6.50.0170.01215.77
5.6.40.0190.01015.85
5.6.30.0180.01015.89
5.6.20.0180.01215.88
5.6.10.0190.01015.82
5.6.00.0170.01015.76
5.5.380.0190.00815.73
5.5.370.0210.00715.77
5.5.360.0110.01515.61
5.5.350.0180.00915.80
5.5.340.0200.00715.58
5.5.330.0130.01315.84
5.5.320.0170.00915.73
5.5.310.0150.01215.52
5.5.300.0140.01415.87
5.5.290.0140.01115.92
5.5.280.0100.01615.68
5.5.270.0100.02015.75
5.5.260.0130.01315.62
5.5.250.0220.01115.39
5.5.240.0140.00915.61
5.5.230.0190.00815.84
5.5.220.0230.00815.68
5.5.210.0210.01315.69
5.5.200.0180.01215.31
5.5.190.0120.01215.42
5.5.180.0170.00715.61
5.5.170.0200.00615.63
5.5.160.0170.00715.41
5.5.150.0180.00615.72
5.5.140.0190.01015.55
5.5.130.0140.01715.33
5.5.120.0070.01815.55
5.5.110.0180.00715.67
5.5.100.0220.00615.65
5.5.90.0170.00715.70
5.5.80.0220.00615.59
5.5.70.0200.00715.64
5.5.60.0180.00815.82
5.5.50.0130.01615.64
5.5.40.0260.00315.70
5.5.30.0190.00615.80
5.5.20.0170.01215.71
5.5.10.0140.01115.48
5.5.00.0200.00315.36
5.4.450.0190.00314.09
5.4.440.0160.00614.09
5.4.430.0180.00714.09
5.4.420.0170.00314.09
5.4.410.0190.00014.09
5.4.400.0090.00914.09
5.4.390.0170.00314.09
5.4.380.0160.00314.09
5.4.370.0060.01314.09
5.4.360.0140.00814.09
5.4.350.0120.00614.09
5.4.340.0080.01114.09
5.4.330.0140.00614.09
5.4.320.0110.00714.09
5.4.310.0180.00614.09
5.4.300.0090.00914.09
5.4.290.0130.00614.09
5.4.280.0110.00814.09
5.4.270.0130.00714.09
5.4.260.0070.01114.09
5.4.250.0110.00714.09
5.4.240.0140.00714.09
5.4.230.0160.00314.09
5.4.220.0130.00714.09
5.4.210.0190.00314.09
5.4.200.0140.00714.09
5.4.190.0180.00614.09
5.4.180.0110.00814.09
5.4.170.0170.00314.09
5.4.160.0110.00614.09
5.4.150.0110.00714.09
5.4.140.0110.00714.09
5.4.130.0130.00514.09
5.4.120.0110.00814.09
5.4.110.0110.00814.09
5.4.100.0100.01014.09
5.4.90.0120.00714.09
5.4.80.0140.00614.09
5.4.70.0210.00314.09
5.4.60.0130.00814.09
5.4.50.0120.00614.09
5.4.40.0140.00314.09
5.4.30.0110.00814.09
5.4.20.0050.01414.09
5.4.10.0110.00614.09
5.4.00.0100.00914.09
5.3.290.0130.00614.09
5.3.280.0120.00814.09
5.3.270.0150.00614.09
5.3.260.0190.00314.09
5.3.250.0120.00714.09
5.3.240.0170.00214.09
5.3.230.0100.01014.09
5.3.220.0170.00314.09
5.3.210.0150.00614.09
5.3.200.0150.00614.09
5.3.190.0180.00314.09
5.3.180.0180.00614.09
5.3.170.0180.00414.09
5.3.160.0210.00014.09
5.3.150.0160.00514.09
5.3.140.0110.00714.09
5.3.130.0130.00614.09
5.3.120.0150.00414.09
5.3.110.0140.00714.09
5.3.100.0140.00614.09
5.3.90.0070.01114.09
5.3.80.0210.01014.09
5.3.70.0160.00714.09
5.3.60.0150.00614.09
5.3.50.0130.00914.09
5.3.40.0200.00014.09
5.3.30.0160.00414.09
5.3.20.0150.00514.09
5.3.10.0140.00614.09
5.3.00.0090.01514.09
5.2.170.0170.00414.09
5.2.160.0120.00414.09
5.2.150.0090.00914.09
5.2.140.0150.00314.09
5.2.130.0130.00414.09
5.2.120.0110.00714.09
5.2.110.0110.00614.09
5.2.100.0190.00014.09
5.2.90.0110.00714.09
5.2.80.0150.00414.09
5.2.70.0100.01014.09
5.2.60.0050.01114.09
5.2.50.0000.01614.09
5.2.40.0140.00614.09
5.2.30.0040.01614.09
5.2.20.0080.01214.09
5.2.10.0040.01114.09
5.2.00.0120.00314.09
5.1.60.0070.00714.09
5.1.50.0110.00314.09
5.1.40.0090.00614.09
5.1.30.0120.00314.09
5.1.20.0050.01014.09
5.1.10.0110.00414.09
5.1.00.0130.00314.09
5.0.50.0090.00414.09
5.0.40.0090.00414.09
5.0.30.0040.00814.09
5.0.20.0040.00914.09
5.0.10.0050.00714.09
5.0.00.0070.00414.09
4.4.90.0070.00314.09
4.4.80.0090.00014.09
4.4.70.0020.00714.09
4.4.60.0070.00014.09
4.4.50.0030.00414.09
4.4.40.0080.00314.09
4.4.30.0050.00514.09
4.4.20.0060.00214.09
4.4.10.0080.00014.09
4.4.00.0040.00414.09
4.3.110.0080.00014.09
4.3.100.0040.00414.09
4.3.90.0000.00714.09
4.3.80.0030.00514.09
4.3.70.0080.00014.09
4.3.60.0080.00014.09
4.3.50.0080.00014.09
4.3.40.0020.00514.09
4.3.30.0040.00214.09
4.3.20.0030.00314.09
4.3.10.0050.00214.09
4.3.00.0070.00014.09

preferences:
31.52 ms | 403 KiB | 5 Q