3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ [ 'foo' => 0.5 ], [ 'foo' => 0 ], [ 'foo' => '0' ], ]; var_dump(array_column($a, 'foo', 'foo'));

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.20.0130.00317.25
8.4.10.0030.00617.70
8.3.150.0090.00918.80
8.3.140.0060.00317.34
8.3.130.0030.00718.65
8.3.120.0050.00318.75
8.3.110.0040.00420.94
8.3.100.0060.00324.06
8.3.90.0110.00726.77
8.3.80.0080.00417.97
8.3.70.0150.00318.68
8.3.60.0130.01316.50
8.3.50.0050.00818.42
8.3.40.0070.00718.50
8.3.30.0030.01218.44
8.3.20.0070.00018.85
8.3.10.0050.00221.59
8.3.00.0080.00023.66
8.2.270.0110.00718.79
8.2.260.0070.00416.64
8.2.250.0070.00718.30
8.2.240.0090.00916.84
8.2.230.0070.00722.58
8.2.220.0070.00337.54
8.2.210.0180.00026.77
8.2.200.0040.00718.42
8.2.190.0040.01116.63
8.2.180.0150.00018.18
8.2.170.0090.01222.96
8.2.160.0140.00320.73
8.2.150.0070.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0080.00020.70
8.2.110.0060.00322.12
8.2.100.0090.00317.72
8.2.90.0050.00217.84
8.2.80.0140.00017.97
8.2.70.0050.00317.50
8.2.60.0040.00417.50
8.2.50.0060.00318.07
8.2.40.0000.00818.03
8.2.30.0070.00017.88
8.2.20.0000.00718.03
8.2.10.0030.00517.96
8.2.00.0030.00319.32
8.1.310.0050.00218.45
8.1.300.0070.00317.64
8.1.290.0030.00930.84
8.1.280.0100.00725.92
8.1.270.0070.00022.10
8.1.260.0160.00026.35
8.1.250.0030.00528.09
8.1.240.0060.00320.68
8.1.230.0040.00820.88
8.1.220.0050.00317.74
8.1.210.0060.00318.86
8.1.200.0030.00617.13
8.1.190.0000.01017.23
8.1.180.0030.00518.10
8.1.170.0000.00918.46
8.1.160.0030.00518.75
8.1.150.0000.00718.69
8.1.140.0070.00017.56
8.1.130.0080.00019.10
8.1.120.0030.00317.42
8.1.110.0040.00417.30
8.1.100.0060.00317.38
8.1.90.0000.00717.39
8.1.80.0050.00317.44
8.1.70.0040.00717.29
8.1.60.0060.00317.48
8.1.50.0000.00817.36
8.1.40.0030.00517.35
8.1.30.0040.00417.56
8.1.20.0040.00417.57
8.1.10.0000.00917.41
8.1.00.0050.00317.23
8.0.300.0040.00420.02
8.0.290.0070.00016.63
8.0.280.0040.00418.30
8.0.270.0000.00717.24
8.0.260.0000.00817.19
8.0.250.0030.00516.80
8.0.240.0050.00316.87
8.0.230.0090.00016.94
8.0.220.0030.00516.81
8.0.210.0070.00016.71
8.0.200.0030.00316.85
8.0.190.0000.00816.75
8.0.180.0050.00216.88
8.0.170.0050.00316.84
8.0.160.0040.00416.93
8.0.150.0000.00716.81
8.0.140.0050.00316.82
8.0.130.0050.00013.21
8.0.120.0000.00816.75
8.0.110.0040.00416.76
8.0.100.0020.00516.71
8.0.90.0050.00316.79
8.0.80.0100.00616.78
8.0.70.0020.00516.70
8.0.60.0040.00416.60
8.0.50.0070.00016.67
8.0.30.0120.00617.11
8.0.20.0120.00817.40
8.0.10.0000.00817.00
8.0.00.0170.00516.77
7.4.330.0030.00315.55
7.4.320.0060.00016.45
7.4.300.0060.00016.54
7.4.290.0070.00016.57
7.4.280.0000.00716.37
7.4.270.0000.00716.52
7.4.260.0070.00016.40
7.4.250.0000.00716.46
7.4.240.0040.00416.29
7.4.230.0000.00716.51
7.4.220.0000.00816.46
7.4.210.0050.01016.46
7.4.200.0000.00716.53
7.4.160.0100.00716.22
7.4.140.0120.00617.86
7.4.130.0070.01016.29
7.4.120.0080.01116.52
7.4.110.0140.00516.35
7.4.100.0040.01716.52
7.4.90.0180.00516.46
7.4.80.0120.01419.39
7.4.70.0090.00616.47
7.4.60.0080.00816.27
7.4.50.0040.01416.38
7.4.40.0140.01016.49
7.4.00.0070.01015.10
7.3.330.0030.00313.05
7.3.320.0030.00312.93
7.3.310.0000.00716.18
7.3.300.0060.00016.16
7.3.290.0070.00015.97
7.3.280.0080.00816.09
7.3.260.0100.00916.17
7.3.240.0080.00916.29
7.3.230.0100.00716.38
7.3.210.0130.00316.16
7.3.200.0030.01416.16
7.3.190.0130.00316.17
7.3.180.0090.01216.14
7.3.170.0100.01016.19
7.3.160.0030.01316.36
7.3.120.0140.00514.90
7.3.110.0100.01014.84
7.3.100.0000.01214.46
7.3.90.0090.00614.61
7.3.80.0070.00714.81
7.3.70.0060.00914.63
7.3.60.0030.00914.66
7.3.50.0040.01214.56
7.3.40.0000.01514.79
7.3.30.0000.01114.50
7.3.20.0060.00916.37
7.3.10.0030.01016.68
7.3.00.0100.00316.53
7.2.330.0080.00916.42
7.2.320.0080.01516.31
7.2.310.0110.01116.42
7.2.300.0140.00316.32
7.2.290.0110.00616.49
7.2.240.0040.01615.00
7.2.230.0000.01515.05
7.2.220.0100.00615.07
7.2.210.0060.00614.81
7.2.200.0070.00714.99
7.2.190.0070.01014.85
7.2.180.0060.01014.86
7.2.170.0030.00714.70
7.2.160.0070.01114.69
7.2.150.0040.00816.51
7.2.140.0000.01116.67
7.2.130.0070.01016.64
7.2.120.0060.00916.79
7.2.110.0070.00716.69
7.2.100.0080.00416.79
7.2.90.0070.01116.86
7.2.80.0060.01016.60
7.2.70.0290.00915.34
7.2.60.0230.01115.38
7.2.50.0230.00715.29
7.2.40.0190.01215.38
7.2.30.0190.01015.12
7.2.20.0190.00615.31
7.2.10.0230.01415.40
7.2.00.0200.00515.45
7.1.330.0130.00815.64
7.1.320.0030.00815.62
7.1.310.0030.01015.66
7.1.300.0070.00715.62
7.1.290.0090.00315.71
7.1.280.0000.01415.68
7.1.270.0030.01215.74
7.1.260.0040.00715.89
7.1.250.0040.01115.66
7.1.200.0030.00915.45
7.1.170.0260.00613.78
7.1.160.0790.00813.70
7.1.150.0320.00713.69
7.1.140.0300.00613.55
7.1.130.0300.01013.75
7.1.120.0240.00713.37
7.1.110.0650.00713.76
7.1.100.0350.00713.65
7.1.90.0310.01013.73
7.1.80.0310.00513.67
7.1.70.0390.00613.61
7.1.60.0530.01531.68
7.1.50.0470.00931.70
7.1.40.0450.00831.76
7.1.30.0470.00831.58
7.1.20.0420.01131.61
7.1.10.0290.00513.71
7.1.00.0240.01313.73
7.0.300.0410.00513.35
7.0.290.0250.00913.38
7.0.270.0410.00613.34
7.0.260.0310.00613.41
7.0.250.0200.00713.40
7.0.240.0360.00913.30
7.0.230.0310.00713.39
7.0.220.0320.00713.61
7.0.210.0260.00313.43
7.0.200.0350.01013.42
7.0.190.0190.01013.55
7.0.180.0360.00613.59
7.0.170.0160.01313.52
7.0.160.0230.00713.43
7.0.150.0320.00313.46
7.0.140.0280.00913.47
7.0.130.0340.00313.31
7.0.120.0300.01613.62
7.0.110.0370.00913.46
7.0.100.0380.00913.51
7.0.90.0410.00313.40
7.0.80.0340.00913.53
7.0.70.0220.00713.63
7.0.60.0240.00613.46
7.0.50.0330.01013.54
7.0.40.0180.01113.64
7.0.30.0240.00713.44
7.0.20.0210.00613.66
7.0.10.0220.00513.53
7.0.00.0200.00713.41
5.6.300.0070.00713.95
5.6.290.0120.00914.26
5.6.280.0130.00714.33
5.6.270.0160.00414.27
5.6.260.0120.00813.83
5.6.250.0190.00414.39
5.6.240.0150.00314.24
5.6.230.0150.00914.23
5.6.220.0110.00714.16
5.6.210.0130.00614.03
5.6.200.0090.01214.18
5.6.190.0070.00714.15
5.6.180.0110.01414.32
5.6.170.0140.00714.13
5.6.160.0140.00414.05
5.6.150.0160.00313.91
5.6.140.0170.00614.31
5.6.130.0230.00014.25
5.6.120.0130.01014.16
5.6.110.0060.01213.79
5.6.100.0110.00813.88
5.6.90.0130.01014.09
5.6.80.0090.01214.01
5.6.70.0190.00614.04
5.6.60.0170.00513.96
5.6.50.0090.01114.18
5.6.40.0110.01114.28
5.6.30.0130.01314.16
5.6.20.0060.01213.89
5.6.10.0180.00514.23
5.6.00.0180.00614.00
5.5.380.0160.00010.64
5.5.370.0080.00810.80
5.5.360.0100.00510.91
5.5.350.0090.00411.07
5.5.340.0100.00811.07
5.5.330.0050.01010.89
5.5.320.0110.00610.90
5.5.310.0060.01311.13
5.5.300.0080.01211.02
5.5.290.0130.00310.90
5.5.280.0150.00010.91
5.5.270.0080.00911.21
5.5.260.0140.00310.90
5.5.250.0090.01010.61
5.5.240.0130.00310.99
5.5.230.0080.00810.76
5.5.220.0150.00210.94
5.5.210.0070.00710.83
5.5.200.0070.00710.79
5.5.190.0110.00310.98
5.5.180.0060.01011.09
5.5.160.0070.01011.03
5.5.150.0090.00610.75
5.5.140.0110.00510.90
5.5.130.0100.00310.82
5.5.120.0090.00310.70
5.5.110.0000.01310.54
5.5.100.0060.00910.67
5.5.90.0050.00910.67
5.5.80.0060.00610.91
5.5.70.0070.00710.94
5.5.60.0080.00810.86
5.5.50.0060.01010.74
5.5.40.0070.01110.68
5.5.30.0110.00510.73
5.5.20.0150.00410.60
5.5.10.0140.00510.45
5.5.00.0110.00410.73
5.4.450.0050.01411.01
5.4.440.0000.01310.46
5.4.430.0100.00510.86
5.4.420.0090.00611.07
5.4.410.0040.01410.94
5.4.400.0000.01411.02
5.4.390.0070.00710.87
5.4.380.0100.00310.69
5.4.370.0100.00310.70
5.4.360.0130.00510.79
5.4.350.0090.00610.83
5.4.340.0110.00310.62
5.4.320.0120.00210.74
5.4.310.0100.00710.80
5.4.300.0040.00910.76
5.4.290.0080.00810.88
5.4.280.0140.00010.95
5.4.270.0090.00310.72
5.4.260.0060.00610.73
5.4.250.0110.00010.93
5.4.240.0130.00310.73
5.4.230.0000.01410.70
5.4.220.0100.00810.95
5.4.210.0110.00610.79
5.4.200.0080.01210.86
5.4.190.0110.00310.84
5.4.180.0190.00010.66
5.4.170.0110.00710.79
5.4.160.0100.00710.87
5.4.150.0100.00510.73
5.4.140.0100.00710.79
5.4.130.0120.00610.82
5.4.120.0110.00710.84
5.4.110.0140.00410.93
5.4.100.0030.01010.70
5.4.90.0090.00310.80
5.4.80.0140.00010.70
5.4.70.0050.00910.93
5.4.60.0110.00410.92
5.4.50.0080.00810.77
5.4.40.0100.00510.85
5.4.30.0100.00610.55
5.4.20.0080.00810.94
5.4.10.0110.00610.77
5.4.00.0090.00910.91
5.3.290.0120.00010.22
5.3.280.0070.0049.87
5.3.270.0120.00410.05
5.3.260.0120.00610.02
5.3.250.0090.00610.15
5.3.240.0110.00410.02
5.3.230.0070.01110.12
5.3.220.0060.01210.12
5.3.210.0040.00810.04
5.3.200.0100.00710.16
5.3.190.0090.00410.16
5.3.180.0110.00510.08
5.3.170.0090.00910.18
5.3.160.0150.00010.24
5.3.150.0080.00410.29
5.3.140.0080.00410.26
5.3.130.0130.00310.21
5.3.120.0170.00010.16
5.3.110.0060.00910.16
5.3.100.0060.00610.33
5.3.90.0120.00010.28
5.3.80.0060.00610.11
5.3.70.0120.00410.16
5.3.60.0110.00510.20
5.3.50.0050.0109.98
5.3.40.0080.00410.03
5.3.30.0090.00410.23
5.3.20.0110.00010.22
5.3.10.0050.0119.93
5.3.00.0130.0009.92
5.2.170.0030.0109.06
5.2.160.0070.0059.25
5.2.150.0110.0009.17
5.2.140.0040.0079.00
5.2.130.0070.0039.19
5.2.120.0050.0079.06
5.2.110.0070.0079.18
5.2.100.0100.0009.23
5.2.90.0070.0079.00
5.2.80.0120.0039.16
5.2.70.0030.0079.21
5.2.60.0040.0089.05
5.2.50.0000.0139.26
5.2.40.0070.0079.29
5.2.30.0100.0049.12
5.2.20.0070.0038.98
5.2.10.0050.0068.88
5.2.00.0100.0008.86
5.1.60.0090.0028.86
5.1.50.0040.0088.86
5.1.40.0040.0048.86
5.1.30.0000.0098.86
5.1.20.0060.0038.86
5.1.10.0060.0068.86
5.1.00.0040.0048.86
5.0.50.0080.0008.86
5.0.40.0030.0058.86
5.0.30.0090.0008.86
5.0.20.0000.0098.86
5.0.10.0070.0008.86
5.0.00.0040.0028.86
4.4.90.0070.0008.86
4.4.80.0000.0088.86
4.4.70.0060.0008.86
4.4.60.0050.0038.86
4.4.50.0000.0078.86
4.4.40.0060.0008.86
4.4.30.0030.0038.86
4.4.20.0040.0048.86
4.4.10.0070.0008.86
4.4.00.0000.0068.86
4.3.110.0060.0008.86
4.3.100.0040.0048.86
4.3.90.0000.0068.86
4.3.80.0030.0038.86
4.3.70.0000.0068.86
4.3.60.0030.0038.86
4.3.50.0060.0028.86
4.3.40.0030.0038.86
4.3.30.0070.0008.86
4.3.20.0020.0058.86
4.3.10.0000.0058.86
4.3.00.0000.0058.86

preferences:
73.4 ms | 403 KiB | 5 Q