3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ [ 'foo' => 1.0 ], [ 'foo' => 2.5 ], [ 'foo' => 3 ], [ 'foo' => '4' ], ]; 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.1.130.0040.00417.41
8.1.120.0030.00317.27
8.1.110.0020.00517.26
8.1.100.0030.00317.38
8.1.90.0000.00817.40
8.1.80.0080.00017.31
8.1.70.0060.00617.37
8.1.60.0000.00817.54
8.1.50.0060.00317.46
8.1.40.0060.00317.40
8.1.30.0060.00317.53
8.1.20.0000.00817.59
8.1.10.0040.00417.43
8.1.00.0040.00417.39
8.0.260.0070.00016.75
8.0.250.0000.00616.89
8.0.240.0000.00716.81
8.0.230.0080.00016.84
8.0.220.0040.00416.71
8.0.210.0030.00316.86
8.0.200.0000.00616.87
8.0.190.0040.00416.77
8.0.180.0040.00416.80
8.0.170.0040.00416.86
8.0.160.0000.00716.83
8.0.150.0040.00416.64
8.0.140.0070.00016.78
8.0.130.0090.00013.13
8.0.120.0080.00016.83
8.0.110.0000.00816.87
8.0.100.0000.00716.84
8.0.90.0040.00416.70
8.0.80.0110.01116.79
8.0.70.0000.00716.59
8.0.60.0000.00716.61
8.0.50.0020.00516.83
8.0.30.0090.00916.85
8.0.20.0160.01117.40
8.0.10.0040.00416.81
8.0.00.0120.01116.58
7.4.330.0000.00515.55
7.4.320.0000.00616.45
7.4.300.0070.00016.41
7.4.290.0000.00616.34
7.4.280.0030.00516.50
7.4.270.0040.00416.42
7.4.260.0030.00316.52
7.4.250.0040.00416.29
7.4.240.0040.00416.35
7.4.230.0030.00316.30
7.4.220.0030.00616.22
7.4.210.0080.00716.54
7.4.200.0030.00316.47
7.4.160.0120.00616.32
7.4.140.0120.00517.86
7.4.130.0060.01316.33
7.4.120.0100.01116.45
7.4.110.0140.00316.37
7.4.100.0130.00316.40
7.4.90.0060.01316.38
7.4.80.0030.01319.39
7.4.70.0070.01416.33
7.4.60.0030.01416.41
7.4.50.0000.01616.01
7.4.40.0150.00316.32
7.4.00.0070.01014.90
7.3.330.0060.00013.05
7.3.320.0000.00512.98
7.3.310.0040.00416.20
7.3.300.0030.00316.12
7.3.290.0060.00016.11
7.3.280.0040.01316.16
7.3.260.0080.01116.33
7.3.240.0070.00916.23
7.3.230.0070.01016.41
7.3.210.0090.00916.22
7.3.200.0100.00716.37
7.3.190.0060.01116.23
7.3.180.0120.00916.12
7.3.170.0000.01516.16
7.3.160.0100.00716.45
7.2.330.0030.01316.59
7.2.320.0130.01016.48
7.2.310.0150.00816.58
7.2.300.0130.00316.54
7.2.290.0100.01316.30
7.2.120.0220.01114.67
7.2.110.0140.01014.17
7.2.100.0200.01014.26
7.2.90.0220.01514.41
7.2.80.0360.00314.41
7.2.70.0350.01114.76
7.2.60.0290.01014.59
7.2.50.0360.01014.37
7.2.40.0300.00914.75
7.2.30.0300.00814.44
7.2.20.0270.00814.43
7.2.10.0370.00714.47
7.2.00.0270.00314.78
7.1.240.0180.00613.70
7.1.230.0190.00613.79
7.1.220.0220.00713.62
7.1.210.0250.00413.54
7.1.200.0190.00714.54
7.1.190.1060.00713.66
7.1.180.0340.01613.51
7.1.170.0310.00413.53
7.1.160.0320.00813.45
7.1.150.0280.00513.58
7.1.140.0280.00213.71
7.1.130.0260.00813.63
7.1.120.0260.00813.75
7.1.110.0330.01013.76
7.1.100.0830.01113.56
7.1.90.0350.00513.50
7.1.80.0350.00513.70
7.1.70.0270.01313.57
7.1.60.0430.00922.72
7.1.50.0350.00922.55
7.1.40.0440.01022.66
7.1.30.0370.01422.41
7.1.20.0320.01122.59
7.1.10.0300.01213.73
7.1.00.0280.00813.68
5.6.380.0090.00914.25

preferences:
56.96 ms | 406 KiB | 5 Q