3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = $arr = Array ( Array ( "name" => "Size", "value" => "Large", "id" => "1201" ), Array ( "name" => "Size", "value" => "Small", "id" => "1203" ), Array ( "name" => "Size", "value" => "Medium", "id" => "1204" ), Array ( "name" => "Size", "value" => "Large", "id" => "1205" ), Array ( "name" => "Size", "value" => "Large", "id" => "1206" ), Array ( "name" => "Size", "value" => "Large", "id" => "1207" ) ); $arr = array_values(array_column($arr, NULL, "value")); var_dump($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.4.140.0110.01317.33
8.4.130.0100.01017.59
8.4.120.0110.00820.60
8.4.110.0140.00618.75
8.4.100.0120.00817.70
8.4.90.0120.00818.29
8.4.80.0050.00319.20
8.4.70.0070.00617.93
8.4.60.0130.00818.94
8.4.50.0110.00819.43
8.4.40.0060.01217.34
8.4.30.0130.00717.67
8.4.20.0150.00418.37
8.4.10.0160.00317.56
8.3.270.0130.00816.63
8.3.260.0030.00516.66
8.3.250.0150.00418.84
8.3.240.0100.00916.71
8.3.230.0090.00816.68
8.3.220.0090.01017.41
8.3.210.0080.00616.41
8.3.200.0040.00516.42
8.3.190.0050.00416.66
8.3.180.0090.01118.45
8.3.170.0120.00617.14
8.3.160.0110.00718.36
8.3.150.0130.00618.72
8.3.140.0150.00416.66
8.3.130.0040.00418.39
8.3.120.0090.00019.07
8.3.110.0050.00320.94
8.3.100.0030.00624.06
8.3.90.0000.00826.77
8.3.80.0040.00417.97
8.3.70.0040.01118.30
8.3.60.0030.01218.56
8.3.50.0190.00517.12
8.3.40.0060.01218.66
8.3.30.0090.00918.32
8.3.20.0090.00018.99
8.3.10.0100.01023.38
8.3.00.0070.00022.46
8.2.290.0130.00620.57
8.2.280.0060.00216.66
8.2.270.0130.00617.19
8.2.260.0140.00320.61
8.2.250.0040.00416.48
8.2.240.0090.00017.15
8.2.230.0080.00022.58
8.2.220.0030.00637.54
8.2.210.0120.00626.77
8.2.200.0040.00416.38
8.2.190.0150.00616.58
8.2.180.0190.00018.42
8.2.170.0140.00422.96
8.2.160.0110.00320.93
8.2.150.0080.00024.18
8.2.140.0150.00324.66
8.2.130.0080.00022.23
8.2.120.0000.00726.35
8.2.110.0100.00022.11
8.2.100.0120.00017.78
8.2.90.0000.00817.75
8.2.80.0030.00618.48
8.2.70.0000.00817.93
8.2.60.0080.00017.94
8.2.50.0040.00418.10
8.2.40.0000.00819.12
8.2.30.0030.00519.18
8.2.20.0030.00617.87
8.2.10.0030.00518.07
8.2.00.0030.00319.48
8.1.330.0110.00921.91
8.1.320.0090.01016.02
8.1.310.0000.00816.63
8.1.300.0060.01318.07
8.1.290.0030.00630.84
8.1.280.0000.01525.92
8.1.270.0070.00723.76
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00320.89
8.1.230.0040.00821.03
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.10
8.1.190.0030.00617.23
8.1.180.0030.00518.87
8.1.170.0000.00818.44
8.1.160.0040.00418.99
8.1.150.0020.00518.73
8.1.140.0040.00418.88
8.1.130.0100.00018.93
8.1.120.0040.00417.42
8.1.110.0040.00417.37
8.1.100.0070.00317.36
8.1.90.0030.00617.39
8.1.80.0030.00617.27
8.1.70.0000.01117.40
8.1.60.0040.00417.42
8.1.50.0000.00717.39
8.1.40.0000.00817.34
8.1.30.0040.00417.48
8.1.20.0060.00317.48
8.1.10.0000.00817.31
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.37
8.0.270.0030.00617.11
8.0.260.0000.00820.28
8.0.250.0000.00716.84
8.0.240.0100.00016.89
8.0.230.0000.00816.88
8.0.220.0030.00516.78
8.0.210.0000.00716.86
8.0.200.0070.00016.93
8.0.190.0110.00016.84
8.0.180.0040.00416.88
8.0.170.0030.00616.75
8.0.160.0000.00816.73
8.0.150.0060.00316.68
8.0.140.0000.00716.79
8.0.130.0030.00313.23
8.0.120.0000.00816.75
8.0.110.0080.00016.76
8.0.100.0000.00716.88
8.0.90.0000.00716.62
8.0.80.0080.00716.78
8.0.70.0040.00416.71
8.0.60.0040.00416.79
8.0.50.0050.00216.93
8.0.30.0100.01116.93
8.0.20.0120.00917.40
8.0.10.0000.00716.96
8.0.00.0140.00516.54
7.4.330.0000.00515.55
7.4.320.0040.00416.39
7.4.300.0000.00616.50
7.4.290.0030.00316.47
7.4.280.0000.01016.51
7.4.270.0040.00416.58
7.4.260.0060.00316.40
7.4.250.0040.00416.37
7.4.240.0020.00516.42
7.4.230.0000.00716.63
7.4.220.0000.00716.45
7.4.210.0050.01016.46
7.4.200.0000.00816.62
7.4.160.0100.00916.42
7.4.140.0090.01017.86
7.4.130.0160.00616.36
7.4.120.0130.00616.42
7.4.110.0110.00816.26
7.4.100.0070.01016.29
7.4.90.0150.01116.46
7.4.80.0110.00919.39
7.4.70.0090.00816.34
7.4.60.0030.01316.29
7.4.50.0110.00416.29
7.4.40.0110.00616.27
7.4.00.0070.01114.83
7.3.330.0070.00013.00
7.3.320.0030.00313.11
7.3.310.0030.00315.96
7.3.300.0050.00516.11
7.3.290.0000.00715.94
7.3.280.0110.00516.16
7.3.260.0110.00916.37
7.3.240.0060.01116.13
7.3.230.0070.01016.13
7.3.210.0140.00916.29
7.3.200.0140.00816.32
7.3.190.0110.00816.23
7.3.180.0040.01116.49
7.3.170.0130.00316.11
7.3.160.0090.00616.32
7.3.120.0090.00914.77
7.3.110.0080.00814.71
7.3.100.0080.00314.89
7.3.90.0030.00914.60
7.3.80.0050.00614.68
7.3.70.0050.01014.72
7.3.60.0040.01114.66
7.3.50.0070.00614.76
7.3.40.0020.00914.68
7.3.30.0060.00714.65
7.3.20.0110.00516.56
7.3.10.0070.00816.39
7.3.00.0080.01016.43
7.2.330.0070.01316.57
7.2.320.0090.00916.50
7.2.310.0110.00616.29
7.2.300.0160.00816.27
7.2.290.0070.01016.60
7.2.250.0110.00714.85
7.2.240.0060.01114.68
7.2.230.0030.01214.58
7.2.220.0090.00414.89
7.2.210.0100.00514.81
7.2.200.0040.00914.91
7.2.190.0050.00914.79
7.2.180.0080.00814.97
7.2.170.0050.00814.87
7.2.130.0120.00316.30
7.2.120.0120.00316.63
7.2.110.0070.01016.27
7.2.100.0150.00616.31
7.2.90.0070.01416.66
7.2.80.0500.00515.62
7.2.70.0450.00715.84
7.2.60.0450.00815.71
7.2.50.0600.00615.63
7.2.40.0490.01315.75
7.2.30.0490.00315.81
7.2.20.0490.01015.86
7.2.10.0410.01215.43
7.2.00.0410.00515.70
7.1.330.0090.00615.90
7.1.320.0050.00715.81
7.1.310.0060.00715.70
7.1.300.0050.00815.72
7.1.290.0020.01115.46
7.1.280.0030.00715.59
7.1.270.0030.01015.70
7.1.260.0050.00915.64
7.1.250.0180.00615.44
7.1.200.0840.01013.84
7.1.190.0850.00713.93
7.1.180.0840.01013.82
7.1.170.0830.01013.92
7.1.160.0690.01313.83
7.1.150.0930.00713.75
7.1.140.0890.00613.88
7.1.130.0790.00913.80
7.1.120.0730.01013.80
7.1.110.0860.00613.93
7.1.100.1060.00313.96
7.1.90.0910.01013.93
7.1.80.0930.00014.03
7.1.70.1750.01013.97
7.1.60.1450.01331.80
7.1.50.2060.01331.73
7.1.40.1590.01332.01
7.1.30.1520.00731.79
7.1.20.1460.00631.47
7.1.10.1370.00313.93
7.1.00.0800.01013.80

preferences:
31.96 ms | 403 KiB | 5 Q