3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { static function __callStatic(string $f, array $args) { var_export(unserialize($f) + ['args' => $args]); } } ['C', serialize(['service' => 'xyz', 'method' => 'foo'])](5);

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.4.120.0110.00824.10
8.4.110.0090.01318.84
8.4.100.0120.00818.56
8.4.90.0120.00820.40
8.4.80.0050.00418.72
8.4.70.0120.00718.82
8.4.60.0130.00718.91
8.4.50.0130.00718.61
8.4.40.0140.00718.64
8.4.30.0150.00018.92
8.4.20.0030.01319.72
8.4.10.0160.00319.29
8.3.250.0130.00619.00
8.3.240.0060.00317.02
8.3.230.0150.00416.34
8.3.220.0060.00118.86
8.3.210.0070.00816.65
8.3.200.0050.00416.52
8.3.190.0120.00716.75
8.3.180.0100.00816.70
8.3.170.0140.00318.94
8.3.160.0040.01417.15
8.3.150.0190.00017.33
8.3.140.0080.00017.18
8.3.130.0030.00618.36
8.3.120.0000.00920.63
8.3.110.0060.00320.94
8.3.100.0090.00024.06
8.3.90.0080.01226.77
8.3.80.0030.00617.97
8.3.70.0140.00418.15
8.3.60.0090.00616.55
8.3.50.0130.00318.38
8.3.40.0310.01217.50
8.3.30.0360.00817.50
8.3.20.0320.01217.38
8.3.10.0250.01817.38
8.3.00.0430.00017.13
8.2.290.0120.00720.44
8.2.280.0090.00918.62
8.2.270.0130.00617.17
8.2.260.0080.00018.18
8.2.250.0070.01318.15
8.2.240.0030.00617.32
8.2.230.0080.00022.58
8.2.220.0060.00337.54
8.2.210.0080.00026.77
8.2.200.0060.00316.63
8.2.190.0070.01418.16
8.2.180.0070.01016.38
8.2.170.0350.01017.50
8.2.160.0270.01017.46
8.2.150.0420.00817.50
8.2.140.0410.01017.13
8.2.130.0310.01217.63
8.2.120.0420.00617.50
8.2.110.0420.00317.00
8.2.100.0400.00417.46
8.2.90.0400.00417.13
8.2.80.0380.00817.50
8.2.70.0460.00017.38
8.2.60.0390.01017.50
8.2.50.0350.01017.50
8.2.40.0450.00017.63
8.2.30.0290.00617.38
8.2.20.0220.00817.25
8.2.10.0500.00017.46
8.2.00.0310.00617.38
8.1.330.0110.00722.07
8.1.320.0080.00416.23
8.1.310.0100.00718.41
8.1.300.0100.00617.86
8.1.290.0060.00630.84
8.1.280.0120.00925.92
8.1.270.0330.01016.99
8.1.260.0360.00717.00
8.1.250.0250.01117.13
8.1.240.0280.00717.13
8.1.230.0210.01017.23
8.1.220.0260.00417.13
8.1.210.0280.00317.00
8.1.200.0230.00717.21
8.1.190.0220.00716.87
8.1.180.0260.01116.85
8.1.170.0200.01017.11
8.1.160.0280.00717.09
8.1.150.0280.01617.22
8.1.140.0350.00717.13
8.1.130.0260.01017.10
8.1.120.0330.01017.22
8.1.110.0330.00917.22
8.1.100.0300.01117.22
8.1.90.0320.01017.13
8.1.80.0290.01317.11
8.1.70.0310.01017.22
8.1.60.0330.01317.47
8.1.50.0370.00917.25
8.1.40.0300.01017.25
8.1.30.0490.01217.50
8.1.20.0360.01516.98
8.1.10.0460.00017.23
8.1.00.0400.00617.11

preferences:
29.41 ms | 403 KiB | 5 Q