3v4l.org

run code in 300+ PHP versions simultaneously
<?php // This is fine. class Foo { public $ordinary; public function bar($a) {} // Untyped param. } class FooChild extends Foo { public mixed $ordinary; function bar(mixed $a) {} // Child declares the param as mixed, which is allowed. }

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.50.0150.00721.20
8.3.40.0290.01117.50
8.3.30.0370.00417.23
8.3.20.0270.01417.25
8.3.10.0410.00017.00
8.3.00.0260.01117.09
8.2.180.0350.00415.88
8.2.170.0290.01317.46
8.2.160.0320.01319.13
8.2.150.0270.01217.38
8.2.140.0370.00317.12
8.2.130.0400.00017.23
8.2.120.0280.00817.00
8.2.110.0260.00917.13
8.2.100.0300.00919.00
8.2.90.0270.00617.35
8.2.80.0310.00317.13
8.2.70.0300.00717.13
8.2.60.0250.00817.50
8.2.50.0270.00717.25
8.2.40.0210.01217.00
8.2.30.0240.01017.13
8.2.20.0210.00917.13
8.2.10.0230.00617.13
8.2.00.0250.00717.34
8.1.270.0180.01516.99
8.1.260.0320.00617.00
8.1.250.0280.00816.85
8.1.240.0160.01616.85
8.1.230.0270.00316.75
8.1.220.0220.00916.98
8.1.210.0220.00916.74
8.1.200.0200.01016.85
8.1.190.0230.01018.63
8.1.180.0170.01416.75
8.1.170.0180.01416.73
8.1.160.0370.00017.00
8.1.150.0230.00816.75
8.1.140.0260.00416.75
8.1.130.0170.01317.00
8.1.120.0280.00617.00
8.1.110.0240.00617.22
8.1.100.0170.01417.00
8.1.90.0090.01218.85
8.1.80.0060.01218.88
8.1.70.0200.00018.77
8.1.60.0140.00619.00
8.1.50.0040.01618.84
8.1.40.0160.00418.98
8.1.30.0080.01118.81
8.1.20.0070.01119.11
8.1.10.0060.01118.88
8.1.00.0060.01118.75

preferences:
134.18 ms | 993 KiB | 7 Q