3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ["a", "b", "c", "d", "e"]; var_export( array_merge( ...array_fill(0, 2, $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.0130.00819.93
8.4.150.0020.00014.05
8.4.140.0130.00917.24
8.4.130.0130.00817.54
8.4.120.0150.00622.39
8.4.110.0110.01022.15
8.4.100.0160.00418.62
8.4.90.0100.01022.26
8.4.80.0120.00818.74
8.4.70.0060.00218.70
8.4.60.0080.01118.63
8.4.50.0150.00518.86
8.4.40.0000.00917.66
8.4.30.0070.01020.67
8.4.20.0130.00919.53
8.4.10.0030.01623.69
8.3.280.0100.01018.30
8.3.270.0120.00816.48
8.3.260.0100.00916.44
8.3.250.0130.00518.70
8.3.240.0120.00917.13
8.3.230.0040.00416.56
8.3.220.0120.00718.89
8.3.210.0120.00618.48
8.3.200.0050.00516.70
8.3.190.0090.00519.04
8.3.180.0100.00516.54
8.3.170.0000.00818.91
8.3.160.0140.00316.88
8.3.150.0100.01017.09
8.3.140.0040.01116.49
8.3.130.0000.00918.16
8.3.120.0100.00718.93
8.3.110.0080.00020.94
8.3.100.0030.00524.06
8.3.90.0070.00326.77
8.3.80.0090.00018.30
8.3.70.0110.00416.58
8.3.60.0110.00418.18
8.3.50.0070.00718.42
8.3.40.0100.00719.97
8.3.30.0000.01418.41
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.290.0080.00220.34
8.2.280.0140.00618.48
8.2.270.0070.01116.94
8.2.260.0120.00618.39
8.2.250.0000.00717.24
8.2.240.0030.00617.00
8.2.230.0080.01122.58
8.2.220.0130.00337.54
8.2.210.0040.00426.77
8.2.200.0040.00416.25
8.2.190.0160.00316.63
8.2.180.0060.01225.92
8.2.170.0100.00719.01
8.2.160.0030.01022.96
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00426.16
8.2.110.0030.00721.05
8.2.100.0000.01117.72
8.2.90.0080.00017.63
8.2.80.0080.00017.97
8.2.70.0030.00617.50
8.2.60.0000.01017.35
8.2.50.0040.00418.04
8.2.40.0060.00319.31
8.2.30.0000.00818.04
8.2.20.0040.00419.10
8.2.10.0000.00717.95
8.2.00.0040.00719.13
8.1.330.0110.00922.00
8.1.320.0080.00321.85
8.1.310.0100.00718.23
8.1.300.0000.01420.28
8.1.290.0100.00030.84
8.1.280.0030.01025.92
8.1.270.0000.00824.66
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0000.00922.05
8.1.230.0090.00319.02
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0000.00718.72
8.1.150.0050.00318.53
8.1.140.0050.00317.38
8.1.130.0110.00618.55
8.1.120.0100.01018.53
8.1.110.0170.00018.54
8.1.100.0140.00318.54
8.1.90.0120.00418.66
8.1.80.0100.00518.63
8.1.70.0180.00018.54
8.1.60.0130.00718.83
8.1.50.0130.00718.81
8.1.40.0170.00318.70
8.1.30.0190.00018.71
8.1.20.0140.00618.80
8.1.10.0140.00618.68
8.1.00.0100.01018.52
8.0.300.0040.00419.73
8.0.290.0040.00416.63
8.0.280.0030.00318.32
8.0.270.0000.00817.22
8.0.260.0130.00318.00
8.0.250.0100.00417.96
8.0.240.0080.00517.99
8.0.230.0070.00717.97
8.0.220.0100.00017.91
8.0.210.0100.00317.78
8.0.200.0090.00518.01
8.0.190.0130.00018.05
8.0.180.0070.00717.88
8.0.170.0060.01017.99
8.0.160.0110.00517.88
8.0.150.0070.00717.90
8.0.140.0120.00417.83
8.0.130.0190.00017.89
8.0.120.0120.00317.96
8.0.110.0120.00217.91
8.0.100.0120.00517.86
8.0.90.0100.00517.92
8.0.80.0050.01017.84
8.0.70.0120.00317.75
8.0.60.0110.00317.76
8.0.50.0120.00317.88
8.0.30.0160.00017.98
8.0.20.0080.00818.03
8.0.10.0110.00617.93

preferences:
113.41 ms | 403 KiB | 5 Q