3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startVal = new Command(); $middlwares = []; $middlewares[] = func1(...); if ($isAdmin) { $middlewares[] = func2(...); } if ($isTuesday) { $middlewares[] = fizbin(...); } $result = compose($middlewares)($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.0120.00816.58
8.5.00.0150.00719.91
8.4.160.0110.01123.98
8.4.150.0030.00014.05
8.4.140.0140.00617.54
8.4.130.0120.00717.94
8.4.120.0100.00824.15
8.4.110.0090.00623.52
8.4.100.0120.00817.76
8.4.90.0050.00718.86
8.4.80.0140.00619.38
8.4.70.0410.00818.18
8.4.60.0410.00518.18
8.4.50.0350.00718.18
8.4.40.0400.01318.18
8.4.30.0450.01018.18
8.4.20.0480.00518.18
8.4.10.0420.01018.18
8.3.290.0090.01120.80
8.3.280.0120.00918.44
8.3.270.0090.01016.39
8.3.260.0120.00717.01
8.3.250.0080.01018.93
8.3.240.0100.00916.87
8.3.230.0020.00716.60
8.3.220.0090.00716.99
8.3.210.0310.00618.18
8.3.200.0360.00818.18
8.3.190.0260.00418.18
8.3.180.0180.00518.18
8.3.170.0260.00618.18
8.3.160.0430.00618.18
8.3.150.0510.00418.18
8.3.140.0330.00718.18
8.3.130.0350.00718.18
8.3.120.0340.00918.18
8.3.110.0380.00518.18
8.3.100.0280.00818.18
8.3.90.0280.00618.18
8.3.80.0350.00718.18
8.3.70.0370.01318.18
8.3.60.0440.00818.18
8.3.50.0390.01018.18
8.3.40.0440.00918.18
8.3.30.0340.01018.18
8.3.20.0380.00818.18
8.3.10.0300.01018.18
8.3.00.0210.00518.18
8.2.300.0130.00918.12
8.2.290.0090.00720.22
8.2.280.0280.00918.18
8.2.270.0360.00618.18
8.2.260.0310.00618.18
8.2.250.0340.00518.18
8.2.240.0360.00618.18
8.2.230.0310.01018.18
8.2.220.0290.00918.18
8.2.210.0350.00618.18
8.2.200.0390.00818.18
8.2.190.0250.00418.18
8.2.180.0280.00518.18
8.2.170.0360.00918.18
8.2.160.0380.00818.18
8.2.150.0430.00918.18
8.2.140.0440.00518.18
8.2.130.0390.00718.18
8.2.120.0370.00718.18
8.2.110.0220.00818.18
8.2.100.0210.00718.18
8.2.90.0380.00618.18
8.2.80.0340.01018.18
8.2.70.0360.00618.18
8.2.60.0370.00818.18
8.2.50.0360.00718.18
8.2.40.0320.00818.18
8.2.30.0330.00918.18
8.2.20.0250.00418.18
8.2.10.0350.00618.18
8.2.00.0340.00618.18
8.1.340.0120.00721.64

preferences:
33.56 ms | 403 KiB | 5 Q