3v4l.org

run code in 300+ PHP versions simultaneously
<?php class User { public function getPassword(): ?string { return NULL; } } class SubUser extends User { public function getPassword() { return NULL; } }

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.2.30.0050.01117.62
8.2.20.0050.00517.62
8.2.10.0060.01117.62
8.2.00.0110.00517.62
8.1.160.0100.00717.62
8.1.150.0080.00817.62
8.1.140.0120.00517.62
8.1.130.0140.00317.62
8.1.120.0140.00217.62
8.1.110.0060.01117.62
8.1.100.0120.00417.62
8.1.90.0000.01517.62
8.1.80.0090.00617.62
8.1.70.0180.00017.62
8.1.60.0080.01117.62
8.1.50.0160.00417.62
8.1.40.0180.00017.62
8.1.30.0130.00417.62
8.1.20.0090.00917.62
8.1.10.0140.00417.62
8.1.00.0120.00817.62
8.0.280.0130.00317.62
8.0.270.0110.00517.62
8.0.260.0160.00017.62
8.0.250.0090.00617.62
8.0.240.0130.00317.62
8.0.230.0160.00017.62
8.0.220.0170.00017.62
8.0.210.0140.00517.62
8.0.200.0070.00917.62
8.0.190.0050.01117.62
8.0.180.0190.00017.62
8.0.170.0100.00817.62
8.0.160.0120.00617.62
8.0.150.0120.00317.62
8.0.140.0160.00017.62
8.0.130.0150.00017.62
8.0.120.0100.00517.62
8.0.110.0110.00417.62
8.0.100.0160.00017.62
8.0.90.0160.00017.62
8.0.80.0090.00617.62
8.0.70.0110.00417.62
8.0.60.0130.00317.62
8.0.50.0110.00317.62
8.0.30.0080.00817.62
8.0.20.0040.01217.62
8.0.10.0120.00417.62

preferences:
144.65 ms | 940 KiB | 7 Q