3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_export(array_pad([], 3, '?')); echo "\n"; var_export(array_fill(0, 3, '?')); echo "\n"; var_export(str_split(str_repeat('?', 3)));

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.3.80.0070.00318.30
8.3.70.0160.00316.38
8.3.60.0090.00618.18
8.3.50.0070.00716.63
8.3.40.0030.01023.66
8.3.30.0070.00720.55
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.200.0070.00718.29
8.2.190.0110.01116.58
8.2.180.0070.00716.36
8.2.170.0090.01218.82
8.2.160.0130.00022.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00418.77
8.2.110.0030.00620.48
8.2.100.0250.01118.44
8.2.90.0250.00618.44
8.2.80.0290.00018.44
8.2.70.0180.01218.44
8.2.60.0240.00418.44
8.2.50.0250.00418.44
8.2.40.0200.00818.44
8.2.30.0180.00918.44
8.2.20.0160.01018.44
8.2.10.0200.00818.44
8.2.00.0200.00618.44
8.1.290.0040.00430.84
8.1.280.0120.00625.92
8.1.270.0000.00724.66
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0100.01021.02
8.1.230.0250.00318.44
8.1.220.0210.00618.44
8.1.210.0290.00018.44
8.1.200.0250.00218.44
8.1.190.0200.01018.44
8.1.180.0240.00318.44
8.1.170.0230.00418.44
8.1.160.0240.00318.44
8.1.150.0350.00018.44
8.1.140.0220.00418.44
8.1.130.0230.00618.44
8.1.120.0230.00318.44
8.1.110.0180.00918.44
8.1.100.0190.00818.44
8.1.90.0230.00318.44
8.1.80.0210.00618.44
8.1.70.0250.00318.44
8.1.60.0220.00718.44
8.1.50.0290.00018.44
8.1.40.0250.00018.44
8.1.30.0240.00318.44
8.1.20.0240.00318.44
8.1.10.0220.00718.44
8.1.00.0250.00018.44
8.0.300.0220.00618.44
8.0.290.0240.00318.44
8.0.280.0190.00918.44
8.0.270.0200.00718.44
8.0.260.0240.00418.44
8.0.250.0200.00818.44
8.0.240.0190.00818.44
8.0.230.0260.00318.44
8.0.220.0270.00018.44
8.0.210.0240.00518.44
8.0.200.0190.00818.44
8.0.190.0230.00418.44
8.0.180.0230.00518.44
8.0.170.0180.00918.44
8.0.160.0260.00018.44
8.0.150.0210.00418.44
8.0.140.0190.00818.44
8.0.130.0250.00818.44
8.0.120.0280.00318.44
8.0.110.0190.00718.44
8.0.100.0190.00818.44
8.0.90.0230.00318.44
8.0.80.0290.00018.44
8.0.70.0190.00818.44
8.0.60.0230.00418.44
8.0.50.0270.00018.44
8.0.30.0130.01318.44
8.0.20.0210.00518.44
8.0.10.0190.00618.44

preferences:
26.64 ms | 403 KiB | 5 Q