3v4l.org

run code in 500+ PHP versions simultaneously
<?php $foo = []; $bar = []; array_push($foo, ...$bar);

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.5.30.0110.00617.39
8.5.20.0060.01020.17
8.5.10.0100.00816.71
8.5.00.0100.01219.71
8.4.180.0130.00919.36
8.4.170.0130.00920.48
8.4.160.0130.00720.59
8.4.150.0060.00716.85
8.4.140.0120.00917.41
8.4.130.0130.00718.50
8.4.120.0130.00618.64
8.4.110.0060.00318.81
8.4.100.0110.00917.71
8.4.90.0140.00620.52
8.4.80.0040.00418.73
8.4.70.0050.00318.63
8.4.60.0130.00720.41
8.4.50.0040.00418.48
8.4.40.0130.00717.35
8.4.30.0100.01018.59
8.4.20.0100.01019.80
8.4.10.0040.00419.20
8.3.300.0040.00519.37
8.3.290.0130.00820.74
8.3.280.0130.00818.29
8.3.270.0140.00616.60
8.3.260.0110.00816.49
8.3.250.0050.00318.30
8.3.240.0120.00616.74
8.3.230.0150.00416.55
8.3.220.0070.00219.04
8.3.210.0110.00716.55
8.3.200.0060.00216.60
8.3.190.0090.00917.29
8.3.180.0110.00818.75
8.3.170.0130.00617.12
8.3.160.0080.01216.43
8.3.150.0080.00016.66
8.3.140.0090.00016.20
8.3.130.0040.00418.18
8.3.120.0070.00318.98
8.3.110.0040.00416.24
8.3.100.0160.00324.06
8.3.90.0070.00726.77
8.3.80.0050.00519.36
8.3.70.0090.00616.63
8.3.60.0070.01316.50
8.3.50.0080.00824.58
8.3.40.0090.00618.96
8.3.30.0040.01118.60
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.300.0090.01020.08
8.2.290.0160.00316.95
8.2.280.0140.00518.04
8.2.270.0110.00716.74
8.2.260.0080.00017.05
8.2.250.0070.01118.84
8.2.240.0080.01116.93
8.2.230.0100.00020.94
8.2.220.0110.00737.54
8.2.210.0000.00726.77
8.2.200.0060.00318.88
8.2.190.0160.00316.58
8.2.180.0100.01025.92
8.2.170.0110.00422.96
8.2.160.0100.01022.96
8.2.150.0050.00325.66
8.2.140.0070.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00426.35
8.2.110.0060.00320.25
8.2.100.0080.00417.66
8.2.90.0030.00517.50
8.2.80.0000.00818.03
8.2.70.0030.00617.38
8.2.60.0040.00417.50
8.2.50.0070.00618.05
8.2.40.0040.00419.94
8.2.30.0000.00817.89
8.2.20.0000.00718.04
8.2.10.0000.00719.24
8.2.00.0040.00419.25
8.1.340.0130.00721.79
8.1.330.0100.00915.84
8.1.320.0130.00717.66
8.1.310.0100.00716.50
8.1.300.0100.00016.08
8.1.290.0060.00330.84
8.1.280.0100.00325.92
8.1.270.0030.00623.99
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0000.00823.98
8.1.230.0040.00719.15
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0060.00317.23
8.1.190.0060.00317.13
8.1.180.0030.00518.10
8.1.170.0030.00719.03
8.1.160.0070.00018.69
8.1.150.0030.00518.79
8.1.140.0020.00518.77
8.1.130.0040.00420.02
8.1.120.0000.00717.29
8.1.110.0030.00617.40
8.1.100.0000.00717.27
8.1.90.0030.00517.34
8.1.80.0030.00317.38
8.1.70.0000.00717.37
8.1.60.0000.00817.53
8.1.50.0040.00417.45
8.1.40.0060.00317.41
8.1.30.0060.00317.54
8.1.20.0060.00317.40
8.1.10.0000.00817.43
8.1.00.0040.00417.45
8.0.300.0040.00419.58
8.0.290.0080.00016.61
8.0.280.0000.00718.27
8.0.270.0000.00717.84
8.0.260.0030.00320.09
8.0.250.0030.00316.75
8.0.240.0030.00316.95
8.0.230.0030.00316.87
8.0.220.0030.00616.80
8.0.210.0030.00316.78
8.0.200.0040.00416.88
8.0.190.0000.00716.88
8.0.180.0070.00016.90
8.0.170.0090.00016.85
8.0.160.0040.00416.87
8.0.150.0030.00316.83
8.0.140.0020.00516.66
8.0.130.0000.00513.25
8.0.120.0070.00016.77
8.0.110.0000.00716.88
8.0.100.0040.00416.59
8.0.90.0040.00416.71
8.0.80.0120.00316.77
8.0.70.0050.00216.63
8.0.60.0070.00016.93
8.0.50.0070.00016.88
8.0.30.0120.00616.69
8.0.20.0100.00717.00
8.0.10.0040.00416.90
8.0.00.0070.01616.76
7.4.330.0000.00515.55
7.4.320.0060.00016.54
7.4.300.0060.00016.40
7.4.290.0000.00816.49
7.4.280.0070.00016.32
7.4.270.0030.00316.50
7.4.260.0020.00213.19
7.4.250.0030.00516.49
7.4.240.0050.00216.39
7.4.230.0070.00016.42
7.4.220.0020.00516.53
7.4.210.0050.00916.42
7.4.200.0000.00616.64
7.4.130.0080.01116.42
7.4.120.0140.00816.37
7.4.110.0170.00716.43
7.4.100.0090.01316.37
7.4.90.0130.01016.40
7.4.80.0030.02019.39
7.4.70.0070.01016.36
7.4.60.0090.00716.13
7.4.50.0080.00816.22
7.4.40.0090.00716.37
7.4.30.0100.00816.20
7.4.20.0110.00616.19
7.4.10.0060.01116.32
7.4.00.0100.00816.40
7.3.330.0040.00416.20
7.3.320.0000.00613.05
7.3.310.0060.00016.09
7.3.300.0000.00716.13
7.3.290.0080.00716.15
7.3.280.0080.00816.09
7.3.260.0120.01216.12
7.3.240.0110.00616.25
7.3.230.0070.01316.02
7.3.210.0080.00816.39
7.3.200.0080.00816.41
7.3.190.0110.00516.18
7.3.180.0090.00916.18
7.3.170.0100.00616.34
7.3.160.0070.01016.13
7.3.150.0080.00816.36
7.3.140.0080.00916.15
7.3.130.0060.01116.08
7.3.120.0120.00416.21
7.3.110.0090.00716.31
7.3.100.0070.01016.08
7.3.90.0100.00616.27
7.3.80.0070.00916.13
7.3.70.0110.00416.11
7.3.60.0060.01116.25
7.3.50.0060.01116.14
7.3.40.0110.00516.11
7.3.30.0100.00516.16
7.3.20.0100.00616.21
7.3.10.0060.01116.09
7.3.00.0080.00916.20
7.2.330.0100.01016.53
7.2.320.0100.00716.33
7.2.310.0070.01116.37
7.2.300.0070.01016.50
7.2.290.0110.00616.26
7.2.280.0080.00816.42
7.2.270.0080.00916.38
7.2.260.0060.01016.20
7.2.250.0070.00916.32
7.2.240.0110.00616.36
7.2.230.0070.00916.19
7.2.220.0070.00916.38
7.2.210.0090.00816.27
7.2.200.0050.01116.39
7.2.190.0090.00916.33
7.2.180.0090.00816.35
7.2.170.0110.00616.30
7.2.160.0060.01016.37
7.2.150.0100.00716.30
7.2.140.0110.00516.34
7.2.130.0100.00716.37
7.2.120.0080.00916.43
7.2.110.0090.00816.41
7.2.100.0060.01016.46
7.2.90.0040.01416.42
7.2.80.0060.01116.36
7.2.70.0080.01016.28
7.2.60.0080.00916.48
7.2.50.0100.01016.45
7.2.40.0110.01216.41
7.2.30.0360.00716.45
7.2.20.0120.00816.37
7.2.10.0160.01016.37
7.2.00.0040.01216.47

preferences:
46.59 ms | 1467 KiB | 5 Q