3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = ["a", "b", "c"]; var_export( array_merge( ...array_map( null, ...array_fill(0, 3, $chars) ) ) );

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.10.0090.01019.26
8.5.00.0080.01319.85
8.4.150.0020.00014.05
8.4.140.0130.00917.45
8.4.130.0130.01017.77
8.4.120.0100.00822.46
8.4.110.0090.01222.33
8.4.100.0050.00317.46
8.4.90.0140.00718.31
8.4.80.0130.00719.02
8.4.70.0080.00419.37
8.4.60.0110.00918.62
8.4.50.0100.00620.12
8.4.40.0160.00320.45
8.4.30.0150.00323.93
8.4.20.0140.00717.96
8.4.10.0130.00721.97
8.3.280.0100.01018.21
8.3.270.0120.00716.46
8.3.260.0140.00716.57
8.3.250.0120.00618.68
8.3.240.0130.00416.36
8.3.230.0090.01116.72
8.3.220.0120.00617.24
8.3.210.0110.00918.19
8.3.200.0040.00416.55
8.3.190.0110.00716.91
8.3.180.0100.00816.55
8.3.170.0000.00817.20
8.3.160.0080.00016.60
8.3.150.0070.01120.77
8.3.140.0070.00716.98
8.3.130.0090.00617.95
8.3.120.0100.00718.88
8.3.110.0040.00420.94
8.3.100.0060.01324.06
8.3.90.0070.00026.77
8.3.80.0060.00616.43
8.3.70.0090.01216.50
8.3.60.0120.00916.50
8.3.50.0070.01316.47
8.3.40.0080.00520.32
8.3.30.0090.00618.54
8.3.20.0000.00824.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.290.0080.00220.58
8.2.280.0030.00518.60
8.2.270.0140.00416.90
8.2.260.0070.01116.51
8.2.250.0000.00918.27
8.2.240.0040.00417.04
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0030.00626.77
8.2.200.0070.00316.50
8.2.190.0070.01416.58
8.2.180.0180.00416.48
8.2.170.0070.00718.63
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0050.00320.69
8.2.110.0030.00819.21
8.2.100.0080.00417.78
8.2.90.0040.00418.09
8.2.80.0030.00618.09
8.2.70.0060.00317.50
8.2.60.0140.00617.13
8.2.50.0120.00617.25
8.2.40.0100.00717.38
8.2.30.0090.00917.25
8.2.20.0050.00517.63
8.2.10.0160.00017.37
8.2.00.0120.00417.13
8.1.330.0140.00423.79
8.1.320.0070.01316.19
8.1.310.0140.00420.01
8.1.300.0060.00318.51
8.1.290.0090.00030.84
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0000.00726.35
8.1.250.0000.00828.09
8.1.240.0060.00324.03
8.1.230.0040.00820.88
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.34
8.1.190.0090.00916.97
8.1.180.0080.00817.00
8.1.170.0140.00317.00
8.1.160.0130.00417.00
8.1.150.0080.00817.00
8.1.140.0160.00017.00
8.1.130.0080.00817.13
8.1.120.0080.00817.25
8.1.110.0140.00417.10
8.1.100.0120.00617.13
8.1.90.0100.00517.22
8.1.80.0040.01317.38
8.1.70.0080.00817.25
8.1.60.0140.00517.50
8.1.50.0140.00317.38
8.1.40.0120.00617.25
8.1.30.0170.00017.38
8.1.20.0120.00617.38
8.1.10.0130.00617.13
8.1.00.0130.00617.12
8.0.300.0000.00720.03
8.0.290.0060.00316.75
8.0.280.0130.00416.52
8.0.270.0150.00316.52
8.0.260.0080.00816.52
8.0.250.0080.00816.52
8.0.240.0180.00016.63
8.0.230.0110.00616.60
8.0.220.0170.00016.52
8.0.210.0150.00216.63
8.0.200.0130.00416.52
8.0.190.0060.01116.52
8.0.180.0180.00016.63
8.0.170.0100.00716.52
8.0.160.0100.00716.62
8.0.150.0140.00316.52
8.0.140.0090.00916.52
8.0.130.0130.00316.52
8.0.120.0080.00816.63
8.0.110.0110.00416.52
8.0.100.0060.00916.52
8.0.90.0130.00316.52
8.0.80.0080.00816.52
8.0.70.0120.00416.52
8.0.60.0160.00016.52
8.0.50.0160.00016.59
8.0.30.0120.00516.52
8.0.20.0130.00316.62
8.0.10.0120.00416.75

preferences:
110.19 ms | 403 KiB | 5 Q