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.60.0090.00616.50
8.3.50.0110.00417.84
8.3.40.0120.00318.71
8.3.30.0030.01018.46
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.180.0040.01125.92
8.2.170.0100.00718.84
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0080.00026.35
8.2.110.0110.00822.12
8.2.100.0090.00317.59
8.2.90.0000.00817.63
8.2.80.0000.00818.61
8.2.70.0080.00458.82
8.2.60.0050.00518.16
8.2.50.0040.00418.10
8.2.40.0050.00320.90
8.2.30.0000.00719.09
8.2.20.0000.00817.95
8.2.10.0050.00319.15
8.2.00.0060.00618.97
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0050.00328.09
8.1.250.0080.00028.09
8.1.240.0080.00023.88
8.1.230.0050.00517.70
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0060.00318.10
8.1.170.0050.00318.65
8.1.160.0040.00418.69
8.1.150.0000.00718.86
8.1.140.0000.00718.77
8.1.130.0070.00519.34
8.1.120.0070.00518.85
8.1.110.0060.00717.99
8.1.100.0060.00617.96
8.1.90.0090.00317.95
8.1.80.0060.00717.94
8.1.70.0040.01018.02
8.1.60.0100.00418.15
8.1.50.0060.00817.98
8.1.40.0090.00518.03
8.1.30.0110.00418.13
8.1.20.0070.00718.14
8.1.10.0070.00817.89
8.1.00.0110.00417.95
8.0.300.0100.00819.44
8.0.290.0070.00016.63
8.0.280.0000.00718.30
8.0.270.0070.00367.06
8.0.260.0050.00618.09
8.0.250.0050.00717.40
8.0.240.0090.00317.41
8.0.230.0070.00517.46
8.0.220.0060.00617.25
8.0.210.0070.00418.27
8.0.200.0060.00617.35
8.0.190.0060.00618.32
8.0.180.0090.00317.39
8.0.170.0070.00517.36
8.0.160.0080.00417.32
8.0.150.0080.00317.40
8.0.140.0060.00617.27
8.0.130.0040.00715.60
8.0.120.0090.00317.28
8.0.110.0080.00317.32
8.0.100.0080.00417.37
8.0.90.0060.00417.04
8.0.80.0070.01217.12
8.0.70.0030.00917.35
8.0.60.0100.00217.34
8.0.50.0050.00717.30
8.0.30.0090.00917.12
8.0.20.0080.01017.22
8.0.10.0080.00917.23
8.0.00.0110.00717.27
7.4.330.0070.00216.29
7.4.320.0030.00816.96
7.4.300.0090.00216.94
7.4.290.0120.00017.00
7.4.280.0070.00617.08
7.4.270.0080.00316.98
7.4.260.0080.00415.41
7.4.250.0050.00716.98
7.4.240.0080.00417.85
7.4.230.0060.00517.03
7.4.220.0070.00216.83
7.4.210.0060.00816.72
7.4.200.0050.00517.80
7.4.190.0080.00517.70
7.4.180.0120.00217.74
7.4.160.0070.00816.86
7.4.150.0090.00717.14
7.4.140.0090.00716.75
7.4.130.0080.00916.74
7.4.120.0110.00816.64
7.4.110.0120.00516.63
7.4.100.0090.00816.71
7.4.90.0100.00716.63
7.4.80.0110.00516.67
7.4.70.0100.00516.65
7.4.60.0070.00816.58
7.4.50.0090.00716.49
7.4.40.0050.01016.58
7.4.30.0080.00816.69
7.4.20.0100.00616.62
7.4.10.0110.00617.09
7.4.00.0090.00616.75
7.3.330.0100.00016.81
7.3.320.0040.00615.19
7.3.310.0070.00416.75
7.3.300.0070.00416.77
7.3.290.0070.00916.52
7.3.280.0050.00916.76
7.3.270.0080.00916.60
7.3.260.0140.00416.58
7.3.250.0070.00916.55
7.3.240.0080.00816.49
7.3.230.0120.00416.58
7.3.220.0090.00816.61
7.3.210.0100.00616.62
7.3.200.0080.00716.54
7.3.190.0100.00516.66
7.3.180.0100.00516.69
7.3.170.0090.00616.53
7.3.160.0090.00516.55
7.3.150.0090.00716.63
7.3.140.0130.00516.52
7.3.130.0100.00616.57
7.3.120.0090.00716.48
7.3.110.0140.00316.37
7.3.100.0050.01016.54
7.3.90.0080.00816.58
7.3.80.0080.00717.00
7.3.70.0050.01016.58
7.3.60.0090.00616.61
7.3.50.0090.00716.62
7.3.40.0090.00816.61
7.3.30.0100.00616.57
7.3.20.0130.00617.11
7.3.10.0110.00517.00
7.3.00.0080.00817.06

preferences:
59.36 ms | 401 KiB | 5 Q