3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyParent { public string $myProp { get => "foo"; } } class MyChild extends MyParent { public string $myProp { get => "foo"; set {} } } $p = new MyParent; $p->myProp = "lol";

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.100.0230.00316.17
8.3.90.0180.00416.76
8.3.80.0250.00816.61
8.3.70.0360.00016.35
8.3.60.0180.01816.38
8.3.50.0250.00016.34
8.3.40.0200.01017.25
8.3.30.0150.00517.36
8.3.20.0120.00917.50
8.3.10.0420.00417.25
8.3.00.0200.00017.46
8.2.220.0170.00316.53
8.2.210.0240.01016.37
8.2.200.0250.01616.09
8.2.190.0390.00316.13
8.2.180.0300.01116.59
8.2.170.0380.00317.38
8.2.160.0370.00317.36
8.2.150.0330.00717.63
8.2.140.0350.00617.13
8.2.130.0250.01117.25
8.2.120.0160.00417.38
8.2.110.0150.00517.38
8.2.100.0250.00417.00
8.2.90.0350.00717.63
8.2.80.0280.01117.38
8.2.70.0320.00717.25
8.2.60.0170.01117.38
8.2.50.0370.00617.12
8.2.40.0320.00917.25
8.2.30.0380.00317.13
8.2.20.0210.01817.23
8.2.10.0360.00617.25
8.2.00.0290.01317.13
8.1.290.0350.01015.38
8.1.280.0380.00616.00
8.1.270.0210.01017.30
8.1.260.0330.00716.87
8.1.250.0370.00317.00
8.1.240.0150.00417.13
8.1.230.0220.01316.88
8.1.220.0270.00717.23
8.1.210.0230.00617.10
8.1.200.0290.00717.10
8.1.190.0270.00716.86
8.1.180.0330.00616.72
8.1.170.0270.00717.09
8.1.160.0300.01016.88
8.1.150.0250.01317.00
8.1.140.0280.00717.00
8.1.130.0280.00417.00
8.1.120.0320.00416.88
8.1.110.0280.00317.10
8.1.100.0220.00916.85
8.1.90.0240.01217.10
8.1.80.0300.00516.85
8.1.70.0490.00717.10
8.1.60.0320.01116.99
8.1.50.0390.00316.88
8.1.40.0390.00417.13
8.1.30.0400.00317.23
8.1.20.0320.01017.22
8.1.10.0400.00317.23
8.1.00.0390.00417.00

preferences:
133.15 ms | 1440 KiB | 7 Q