3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startVal = new Command(); $middlewares = func1(...); if ($isAdmin) { $middlewares += func2(...); } if ($isTuesday) { $middlewares += fizbin(...); } $result = $middelwares($startVal);

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.0130.00616.58
8.5.00.0110.01120.05
8.4.160.0150.00625.79
8.4.150.0010.00114.05
8.4.140.0170.00317.44
8.4.130.0140.00717.96
8.4.120.0150.00622.21
8.4.110.0060.00522.43
8.4.100.0060.00318.50
8.4.90.0120.00918.50
8.4.80.0070.00917.81
8.4.70.0400.01018.18
8.4.60.0380.01118.18
8.4.50.0380.01118.18
8.4.40.0450.00818.18
8.4.30.0430.00718.18
8.4.20.0340.00418.18
8.4.10.0400.01118.18
8.3.290.0050.00520.80
8.3.280.0140.00718.18
8.3.270.0100.00816.85
8.3.260.0130.00616.80
8.3.250.0070.01119.02
8.3.240.0140.00616.67
8.3.230.0060.01316.46
8.3.220.0100.00718.81
8.3.210.0390.00818.18
8.3.200.0180.00418.18
8.3.190.0390.00718.18
8.3.180.0300.00218.18
8.3.170.0330.00518.18
8.3.160.0220.00418.18
8.3.150.0180.00618.18
8.3.140.0250.00418.18
8.3.130.0220.00518.18
8.3.120.0210.00918.18
8.3.110.0390.00718.18
8.3.100.0420.00818.18
8.3.90.0350.00818.18
8.3.80.0410.00918.18
8.3.70.0390.00918.18
8.3.60.0410.00818.18
8.3.50.0430.00718.18
8.3.40.0440.00818.18
8.3.30.0290.00918.18
8.3.20.0240.00618.18
8.3.10.0250.00318.18
8.3.00.0080.00418.18
8.2.300.0120.00918.05
8.2.290.0140.00520.29
8.2.280.0260.00718.18
8.2.270.0310.01018.18
8.2.260.0320.00718.18
8.2.250.0210.00218.18
8.2.240.0200.00318.18
8.2.230.0180.00218.18
8.2.220.0190.00418.18
8.2.210.0230.00518.18
8.2.200.0210.00218.18
8.2.190.0180.00918.18
8.2.180.0310.00518.18
8.2.170.0350.00818.18
8.2.160.0250.00418.18
8.2.150.0330.01218.18
8.2.140.0490.00418.18
8.2.130.0330.00718.18
8.2.120.0230.00218.18
8.2.110.0430.00618.18
8.2.100.0360.00718.18
8.2.90.0350.01018.18
8.2.80.0440.01018.18
8.2.70.0380.00618.18
8.2.60.0330.01018.18
8.2.50.0370.00618.18
8.2.40.0340.00718.18
8.2.30.0380.00818.18
8.2.20.0350.00618.18
8.2.10.0370.00418.18
8.2.00.0340.00618.18
8.1.340.0130.01017.88

preferences:
29.06 ms | 403 KiB | 5 Q