3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ChildVisitor { /* some visiting methods */ } interface ParentVisitor extends ChildVisitor { /* some extra visiting methods */ } interface ParentType { public function accept(ParentVisitor $visitor) : mixed; } interface ChildType extends ParentType { public function accept(ChildVisitor $visitor) : mixed; } interface OtherInterface extends ParentType {} interface InterfaceOrClass extends ChildType, OtherInterface {}

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.80.0070.00418.56
8.3.70.0090.00316.58
8.3.60.0230.00816.58
8.3.50.0060.00316.58
8.3.40.0160.00817.38
8.3.30.0140.01117.23
8.3.20.0070.01417.00
8.3.10.0100.01017.25
8.3.00.0170.00317.13
8.2.200.0040.00418.41
8.2.190.0240.00316.58
8.2.180.0150.01016.58
8.2.170.0160.01117.50
8.2.160.0210.00417.35
8.2.150.0310.00017.13
8.2.140.0320.00417.25
8.2.130.0260.00917.00
8.2.120.0140.01117.50
8.2.110.0140.01417.38
8.2.100.0280.00017.13
8.2.90.0190.00517.25
8.2.80.0180.00617.13
8.2.70.0230.00017.25
8.2.60.0250.00317.38
8.2.50.0260.00617.00
8.2.40.0210.00417.50
8.2.30.0230.00317.38
8.2.20.0290.00417.13
8.2.10.0250.00917.50
8.2.00.0190.00617.24
8.1.290.0090.00030.84
8.1.280.0210.00416.58
8.1.270.0180.00917.13
8.1.260.0150.00917.25
8.1.250.0240.00317.38
8.1.240.0140.00817.35
8.1.230.0190.00517.00
8.1.220.0190.00517.22
8.1.210.0200.00417.23
8.1.200.0200.00417.10
8.1.190.0210.00316.98
8.1.180.0170.00316.98
8.1.170.0240.00017.10
8.1.160.0160.01217.10
8.1.150.0170.00717.22
8.1.140.0140.01016.88
8.1.130.0180.00617.10
8.1.120.0190.00617.34
8.1.110.0210.00417.34
8.1.100.0200.00317.22
8.1.90.0220.00017.11
8.1.80.0210.00317.21
8.1.70.0220.00317.25
8.1.60.0190.00817.23
8.1.50.0190.00917.22
8.1.40.0290.00317.38
8.1.30.0260.00017.13
8.1.20.0230.00417.25
8.1.10.0230.00317.34
8.1.00.0230.00417.10
7.3.310.0080.00816.58

preferences:
30.38 ms | 401 KiB | 5 Q