3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ["a", "b", "c", "d", "e"]; array_push($x, ...$x); var_export($x);

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.00.0110.01019.77
8.4.150.0030.00014.05
8.4.140.0080.01317.41
8.4.130.0150.00518.59
8.4.120.0100.01024.03
8.4.110.0030.00718.79
8.4.100.0090.01117.58
8.4.90.0110.00518.48
8.4.80.0060.00218.80
8.4.70.0120.00819.05
8.4.60.0100.01018.93
8.4.50.0100.00920.35
8.4.40.0170.00317.63
8.4.30.0000.00820.63
8.4.20.0040.01419.69
8.4.10.0090.00023.72
8.3.280.0120.00918.09
8.3.270.0160.00316.51
8.3.260.0110.00416.73
8.3.250.0110.00818.95
8.3.240.0120.00818.84
8.3.230.0130.00716.32
8.3.220.0110.00618.97
8.3.210.0130.00618.55
8.3.200.0020.00616.61
8.3.190.0110.00817.01
8.3.180.0090.00916.21
8.3.170.0140.00417.19
8.3.160.0090.00917.16
8.3.150.0060.00318.95
8.3.140.0060.00617.10
8.3.130.0070.00718.40
8.3.120.0190.00019.04
8.3.110.0060.00320.94
8.3.100.0150.00024.06
8.3.90.0080.00026.77
8.3.80.0000.01018.31
8.3.70.0140.00716.63
8.3.60.0090.00618.20
8.3.50.0090.00618.15
8.3.40.0160.00320.09
8.3.30.0040.01118.54
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.290.0100.01020.56
8.2.280.0100.01018.14
8.2.270.0090.00916.97
8.2.260.0110.00418.32
8.2.250.0040.01516.46
8.2.240.0060.00317.30
8.2.230.0030.00522.58
8.2.220.0030.00637.54
8.2.210.0100.00726.77
8.2.200.0060.00616.25
8.2.190.0030.01316.75
8.2.180.0110.00725.92
8.2.170.0140.00318.79
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0090.00121.33
8.2.100.0050.00718.10
8.2.90.0030.00719.60
8.2.80.0060.00318.16
8.2.70.0040.00618.11
8.2.60.0080.00218.25
8.2.50.0060.00318.33
8.2.40.0060.00419.35
8.2.30.0040.00618.34
8.2.20.0040.00518.94
8.2.10.0020.00718.38
8.2.00.0030.00719.07
8.1.330.0090.01021.73
8.1.320.0110.00721.73
8.1.310.0070.01118.47
8.1.300.0140.00318.31
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0030.00624.66
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0080.00219.46
8.1.230.0060.00519.79
8.1.220.0000.01018.21
8.1.210.0060.00419.30
8.1.200.0050.00517.75
8.1.190.0030.00817.75
8.1.180.0040.00618.29
8.1.170.0070.00418.44
8.1.160.0060.00418.63
8.1.150.0060.00418.59
8.1.140.0060.00417.77
8.1.130.0080.00319.31
8.1.120.0090.00218.40
8.1.110.0070.00519.46
8.1.100.0050.00718.47
8.1.90.0090.00118.54
8.1.80.0070.00418.42
8.1.70.0080.00518.44
8.1.60.0100.00419.55
8.1.50.0090.00519.36
8.1.40.0110.00218.63
8.1.30.0100.00318.71
8.1.20.0090.00318.56
8.1.10.0090.00418.44
8.1.00.0110.00218.50
8.0.300.0040.00618.82
8.0.290.0020.00717.08
8.0.280.0080.00118.04
8.0.270.0050.00517.50
8.0.260.0060.00617.67
8.0.250.0080.00517.78
8.0.240.0070.00417.80
8.0.230.0070.00618.75
8.0.220.0100.00317.62
8.0.210.0040.00718.47
8.0.200.0070.00517.65
8.0.190.0090.00218.70
8.0.180.0080.00617.72
8.0.170.0090.00318.55
8.0.160.0100.00217.94
8.0.150.0060.00517.85
8.0.140.0080.00317.83
8.0.130.0100.00217.69
8.0.120.0080.00417.84
8.0.110.0090.00317.71
8.0.100.0070.00517.79
8.0.90.0090.00317.68
8.0.80.0070.00517.71
8.0.70.0100.00317.69
8.0.60.0050.00617.74
8.0.50.0070.00517.77
8.0.30.0080.00517.61
8.0.20.0060.00417.85
8.0.10.0060.00517.79

preferences:
34.79 ms | 403 KiB | 5 Q