3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1 = ['aaa', 'ccc', 'eee', 'ggg']; $a2 = ['bbb', 'ddd', 'fff', 'hhh']; $a3 = [1662, 1663, 1664, 1665]; var_export( array_map( fn($title, $Info, $id) => get_defined_vars(), $a1, $a2, $a3 ) );

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.00916.80
8.5.00.0090.01319.93
8.4.160.0160.00623.87
8.4.150.0010.00114.05
8.4.140.0130.01017.25
8.4.130.0120.00917.59
8.4.120.0120.00722.21
8.4.110.0120.00922.52
8.4.100.0140.00717.64
8.4.90.0130.00717.54
8.4.80.0110.01017.76
8.4.70.0100.00917.58
8.4.60.0120.00917.76
8.4.50.0090.01117.22
8.4.40.0060.00317.69
8.4.30.0120.00618.81
8.4.20.0100.01017.78
8.4.10.0100.01019.30
8.3.280.0130.00718.37
8.3.270.0130.00616.43
8.3.260.0110.00816.37
8.3.250.0080.01118.91
8.3.240.0090.00916.61
8.3.230.0110.00816.64
8.3.220.0130.00518.79
8.3.210.0120.00616.48
8.3.200.0140.00516.44
8.3.190.0110.00816.37
8.3.180.0050.00416.56
8.3.170.0070.01018.96
8.3.160.0070.01117.05
8.3.150.0100.01017.22
8.3.140.0100.00017.25
8.3.130.0170.00318.65
8.3.120.0060.00318.82
8.3.110.0040.00416.78
8.3.100.0040.00424.06
8.3.90.0040.00426.77
8.3.80.0070.00317.97
8.3.70.0040.01116.63
8.3.60.0090.00616.61
8.3.50.0160.00616.45
8.3.40.0140.00721.86
8.3.30.0070.01422.96
8.3.20.0120.00622.96
8.3.10.0160.00323.66
8.3.00.0100.01022.96
8.2.290.0080.01020.34
8.2.280.0090.01018.46
8.2.270.0090.00918.86
8.2.260.0080.00016.57
8.2.250.0080.00016.61
8.2.240.0060.00916.92
8.2.230.0080.00020.94
8.2.220.0050.00537.54
8.2.210.0060.00326.77
8.2.200.0100.00016.25
8.2.190.0120.00918.29
8.2.180.0070.00718.16
8.2.170.0110.00422.96
8.2.160.0100.01022.96
8.2.150.0100.01022.96
8.2.140.0110.00422.96
8.2.130.0100.01022.96
8.2.120.0070.01122.96
8.2.110.0110.00422.96
8.2.100.0150.00022.96
8.2.90.0100.01022.96
8.2.80.0070.01322.96
8.2.70.0200.00022.96
8.2.60.0100.00622.96
8.2.50.0170.00322.96
8.2.40.0080.00822.96
8.2.30.0170.00322.96
8.2.20.0070.00722.96
8.2.10.0090.00622.96
8.2.00.0160.00622.96
8.1.330.0110.00816.91
8.1.320.0100.00915.98
8.1.310.0100.00318.41
8.1.300.0130.00620.05
8.1.290.0040.00830.84
8.1.280.0070.01425.92
8.1.270.0100.00322.96
8.1.260.0100.01022.96
8.1.250.0120.00622.96
8.1.240.0150.00622.96
8.1.230.0070.00722.96
8.1.220.0030.01722.96
8.1.210.0060.01322.96
8.1.200.0070.00722.96
8.1.190.0200.00022.96
8.1.180.0150.00022.96
8.1.170.0200.00022.96
8.1.160.0170.00322.96
8.1.150.0070.00722.96
8.1.140.0090.00622.96
8.1.130.0110.01122.96
8.1.120.0070.01022.96
8.1.110.0100.00622.96
8.1.100.0100.01022.96
8.1.90.0170.00322.96
8.1.80.0000.01522.96
8.1.70.0130.00322.96
8.1.60.0090.00622.96
8.1.50.0040.01122.96
8.1.40.0110.00322.96
8.1.30.0070.00722.96
8.1.20.0110.00422.96
8.1.10.0110.00322.96
8.1.00.0060.00822.96

preferences:
46.59 ms | 403 KiB | 5 Q