3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdClass; $b = new stdClass; $a->name = 'A'; $b->name = 'B'; $foos = [$a, $b]; var_dump(array_column($foos, 'name'));

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.60.0090.00918.05
8.3.50.0290.00322.11
8.3.40.0110.00718.73
8.3.30.0110.00418.84
8.3.20.0090.00620.16
8.3.10.0070.00318.65
8.3.00.0040.00420.68
8.2.180.0110.00418.27
8.2.170.0070.01022.96
8.2.160.0170.00019.33
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0100.01026.16
8.2.120.0060.00317.75
8.2.110.0060.00322.20
8.2.100.0110.00017.78
8.2.90.0000.00822.28
8.2.80.0060.00318.04
8.2.70.0000.00818.04
8.2.60.0000.00717.68
8.2.50.0040.00418.10
8.2.40.0000.00720.34
8.2.30.0040.00419.37
8.2.20.0050.00317.69
8.2.10.0000.00718.05
8.2.00.0040.00418.12
8.1.280.0120.00625.92
8.1.270.0030.00623.90
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.34
8.1.230.0070.00420.97
8.1.220.0040.00417.74
8.1.210.0040.00418.79
8.1.200.0080.00017.35
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0030.00618.59
8.1.160.0040.00420.80
8.1.150.0000.00718.96
8.1.140.0000.00819.49
8.1.130.0030.00317.70
8.1.120.0030.00317.46
8.1.110.0000.00717.39
8.1.100.0040.00417.50
8.1.90.0040.00417.43
8.1.80.0040.00417.50
8.1.70.0030.00517.47
8.1.60.0000.01017.64
8.1.50.0060.00317.57
8.1.40.0000.00917.54
8.1.30.0060.00317.48
8.1.20.0000.00817.55
8.1.10.0000.00717.54
8.1.00.0080.00017.52
8.0.300.0040.00419.98
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0030.00317.30
8.0.260.0000.00617.16
8.0.250.0030.00316.85
8.0.240.0040.00417.00
8.0.230.0030.00316.98
8.0.220.0040.00416.85
8.0.210.0030.00316.91
8.0.200.0000.00616.96
8.0.190.0050.00316.85
8.0.180.0050.00216.87
8.0.170.0000.00816.82
8.0.160.0000.00816.86
8.0.150.0040.00416.74
8.0.140.0000.00716.82
8.0.130.0000.00513.27
8.0.120.0040.00416.85
8.0.110.0040.00416.81
8.0.100.0080.00016.86
8.0.90.0030.00516.76
8.0.80.0150.00416.92
8.0.70.0070.00016.68
8.0.60.0040.00416.69
8.0.50.0040.00416.76
8.0.30.0110.00917.15
8.0.20.0090.01117.40
8.0.10.0040.00416.88
8.0.00.0070.01016.76
7.4.330.0000.00516.67
7.4.320.0030.00316.45
7.4.300.0030.00316.60
7.4.290.0000.00716.61
7.4.280.0040.00416.51
7.4.270.0040.00416.42
7.4.260.0040.00416.35
7.4.250.0050.00216.48
7.4.240.0030.00316.50
7.4.230.0030.00316.66
7.4.220.0070.01316.62
7.4.210.0110.00316.58
7.4.200.0070.00016.41
7.4.160.0040.01116.50
7.4.150.0060.01217.40
7.4.140.0120.00817.86
7.4.130.0090.00816.38
7.4.120.0100.00816.41
7.4.110.0100.00716.62
7.4.100.0100.01316.66
7.4.90.0060.01116.35
7.4.80.0000.02119.39
7.4.70.0130.00316.66
7.4.60.0080.00816.33
7.4.50.0040.01216.51
7.4.40.0070.01016.52
7.4.30.0120.00916.50
7.4.00.0060.00914.68
7.3.330.0000.00513.11
7.3.320.0030.00313.11
7.3.310.0040.00416.14
7.3.300.0000.00616.25
7.3.290.0030.00316.10
7.3.280.0080.01216.31
7.3.270.0070.01017.40
7.3.260.0120.01216.19
7.3.250.0080.01016.46
7.3.240.0120.00516.38
7.3.230.0110.01116.44
7.3.210.0030.01316.39
7.3.200.0030.01516.51
7.3.190.0170.00316.52
7.3.180.0120.00316.29
7.3.170.0070.01016.63
7.3.160.0110.00516.18
7.2.330.0090.01616.65
7.2.320.0090.00916.52
7.2.310.0110.00816.54
7.2.300.0100.00616.49
7.2.290.0030.01316.53
7.2.110.0230.00716.02
7.2.60.0000.01316.75
7.2.00.0030.00919.39
7.1.200.0040.01115.77
7.1.100.0030.00718.09
7.1.70.0040.00417.07
7.1.60.0100.01319.27
7.1.50.0110.00717.08
7.1.00.0000.08022.57
7.0.200.0410.01014.82
7.0.60.0070.08021.77
7.0.50.0100.07017.74
7.0.40.0070.05719.90
7.0.30.0330.08020.21
7.0.20.0200.04320.00
7.0.10.0100.08020.02
7.0.00.0100.05020.10
5.6.280.0070.03021.04
5.6.210.0070.08020.61
5.6.200.0100.07718.23
5.6.190.0070.08720.63
5.6.180.0200.04020.45
5.6.170.0270.07720.54
5.6.160.0100.08020.50
5.6.150.0030.08318.15
5.6.140.0130.07318.15
5.6.130.0100.04718.12
5.6.120.0100.04020.99
5.6.110.0130.08320.88
5.6.100.0030.07021.00
5.6.90.0130.08721.07
5.6.80.0170.07320.36
5.5.350.4430.04020.49
5.5.340.0100.07017.96
5.5.330.0130.03720.23
5.5.320.0300.05320.13
5.5.310.0200.05320.23
5.5.300.0030.08717.91
5.5.290.0030.05017.96
5.5.280.0070.07020.73
5.5.270.0000.04320.96
5.5.260.0030.06020.67
5.5.250.0070.07020.54
5.5.240.0130.06020.18

preferences:
59.73 ms | 401 KiB | 5 Q