3v4l.org

run code in 300+ PHP versions simultaneously
<?php $condition = true; interface A { function foo(): X; } interface B extends A { function foo(): X; } if($condition){ interface X { function bar(): A; } interface Y extends X { function bar(): A; } }else{ interface X { function bar(): A; } interface Y extends X { function bar(): A; } }

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.70.0150.00018.30
8.3.60.0090.00618.30
8.3.50.0060.01118.15
8.3.40.0060.00918.66
8.3.30.0130.00318.50
8.3.20.0050.00321.90
8.3.10.0080.00023.52
8.3.00.0100.00721.70
8.2.190.0120.00616.58
8.2.180.0040.01116.38
8.2.170.0000.01422.96
8.2.160.0070.00722.13
8.2.150.0060.01224.18
8.2.140.0080.00024.66
8.2.130.0040.00420.52
8.2.120.0030.00626.35
8.2.110.0030.01020.57
8.2.100.0130.00017.91
8.2.90.0040.00419.18
8.2.80.0060.00317.97
8.2.70.0000.00917.50
8.2.60.0040.00417.93
8.2.50.0080.00018.10
8.2.40.0070.00020.42
8.2.30.0040.00419.27
8.2.20.0030.00618.12
8.2.10.0050.00318.04
8.2.00.0050.00318.06
8.1.280.0070.00725.92
8.1.270.0000.00723.80
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00719.14
8.1.230.0070.00417.83
8.1.220.0050.00317.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0080.00018.50
8.1.160.0030.00618.79
8.1.150.0000.00718.93
8.1.140.0040.00419.08
8.1.130.0040.00417.82
8.1.120.0000.00717.43
8.1.110.0030.00717.46
8.1.100.0030.00417.36
8.1.90.0000.00817.33
8.1.80.0060.00317.41
8.1.70.0040.00417.47
8.1.60.0080.00017.51
8.1.50.0080.00417.56
8.1.40.0080.00017.52
8.1.30.0040.00417.72
8.1.20.0080.00017.49
8.1.10.0040.00417.37
8.1.00.0040.00417.24
8.0.300.0050.00318.77
8.0.290.0000.00816.63
8.0.280.0030.00318.43
8.0.270.0070.00017.17
8.0.260.0040.00417.18
8.0.250.0030.00316.97
8.0.240.0060.00316.97
8.0.230.0070.00016.89
8.0.220.0000.00816.92
8.0.210.0030.00316.88
8.0.200.0030.00716.93
8.0.190.0000.00716.94
8.0.180.0000.00716.98
8.0.170.0040.00416.93
8.0.160.0060.00316.85
8.0.150.0040.00416.70
8.0.140.0040.00416.72
8.0.130.0000.00613.32
8.0.120.0000.00716.75
8.0.110.0000.00716.83
8.0.100.0040.00416.83
8.0.90.0060.00316.92
8.0.80.0070.01016.95
8.0.70.0000.00716.84
8.0.60.0040.00416.96
8.0.50.0000.00716.87
8.0.30.0150.00417.13
8.0.20.0150.00817.40
8.0.10.0040.00417.04
8.0.00.0140.00516.64
7.4.330.0020.00216.74
7.4.320.0060.00016.45
7.4.300.0000.00616.68
7.4.290.0050.00216.47
7.4.280.0000.00716.50
7.4.270.0070.00016.63
7.4.260.0070.00016.46
7.4.250.0040.00416.43
7.4.240.0070.00016.48
7.4.230.0070.00016.40
7.4.220.0000.00716.49
7.4.210.0080.00616.57
7.4.200.0030.00316.33
7.4.160.0100.00616.52
7.4.150.0150.00917.40
7.4.140.0150.00617.86
7.4.130.0060.01316.31
7.4.120.0120.00816.43
7.4.110.0090.00616.31
7.4.100.0100.00716.45
7.4.90.0130.00316.62
7.4.80.0150.00319.39
7.4.70.0120.00916.46
7.4.60.0120.00316.47
7.4.50.0090.00616.47
7.4.40.0060.01016.53
7.4.30.0110.00516.55
7.4.00.0060.01014.95
7.3.330.0000.00713.05
7.3.320.0030.00313.26
7.3.310.0000.00716.18
7.3.300.0000.00716.05
7.3.290.0000.00716.11
7.3.280.0120.00316.17
7.3.270.0170.01917.40
7.3.260.0080.00916.20
7.3.250.0100.00816.39
7.3.240.0130.00516.36
7.3.230.0040.01316.16
7.3.210.0050.01416.38
7.3.200.0070.01316.48
7.3.190.0090.00616.34
7.3.180.0060.00916.39
7.3.170.0120.00616.37
7.3.160.0070.01016.35
7.3.10.0120.00316.39
7.3.00.0070.00516.30
7.2.330.0030.01516.37
7.2.320.0140.00716.32
7.2.310.0130.00616.36
7.2.300.0170.00016.61
7.2.290.0090.00916.46
7.2.130.0040.00916.58
7.2.120.0120.00516.73
7.2.110.0070.00716.63
7.2.100.0090.00616.50
7.2.90.0050.00916.77
7.2.80.0030.00916.82
7.2.70.0050.00816.72
7.2.60.0060.00716.78
7.2.50.0120.00416.66
7.2.40.0080.00916.76
7.2.30.0120.00416.74
7.2.20.0110.00716.58
7.2.10.0060.01016.46
7.2.00.0120.00717.60
7.1.250.0060.00615.63
7.1.200.0050.00815.80
7.1.120.0000.01418.27
7.1.110.0070.00717.50
7.1.100.0100.00317.48
7.1.90.0090.00917.99
7.1.80.0000.01817.93
7.1.70.0040.01216.99
7.1.60.0230.01834.86
7.1.50.0200.00734.63
7.1.40.0160.01334.45
7.1.30.0130.01634.29
7.1.20.0220.00434.47
7.1.10.0090.00616.46
7.1.00.0070.00716.70

preferences:
67.56 ms | 401 KiB | 5 Q