3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function test(array $x, $y=0); } interface Bar { public function test(array $x, $y); } interface Baz extends Foo, Bar {} //however, this will fail with expected fatal error: //interface Baz extends Bar, Foo {}

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.4.130.0150.00517.51
8.4.120.0130.00724.02
8.4.110.0130.00622.34
8.4.100.0250.00717.85
8.4.90.0250.00818.02
8.4.80.0210.00818.01
8.4.70.0210.00817.74
8.4.60.0290.00618.22
8.4.50.0210.00618.81
8.4.40.0220.00718.18
8.4.30.0250.01117.42
8.4.20.0240.00817.49
8.4.10.0170.00517.24
8.3.260.0130.00616.62
8.3.250.0120.00618.90
8.3.240.0120.00817.09
8.3.230.0140.00516.58
8.3.220.0170.00417.74
8.3.210.0250.00816.49
8.3.200.0150.00716.39
8.3.190.0200.00616.78
8.3.180.0140.00816.58
8.3.170.0120.00616.68
8.3.160.0110.01017.38
8.3.150.0150.00717.27
8.3.140.0130.00816.86
8.3.130.0090.00617.45
8.3.120.0210.00418.43
8.3.110.0210.00818.65
8.3.100.0250.00520.24
8.3.90.0220.00621.36
8.3.80.0200.01217.26
8.3.70.0260.01016.41
8.3.60.0280.00717.36
8.3.50.0230.00619.59
8.3.40.0250.00417.93
8.3.30.0120.01017.95
8.3.20.0220.00517.88
8.3.10.0190.00518.60
8.3.00.0180.00617.52
8.2.290.0210.00518.54
8.2.280.0230.00617.28
8.2.270.0230.00916.77
8.2.260.0170.00816.30
8.2.250.0180.00716.45
8.2.240.0210.00516.54
8.2.230.0230.00419.52
8.2.220.0160.00926.96
8.2.210.0190.00621.46
8.2.200.0200.00517.17
8.2.190.0190.01016.48
8.2.180.0220.00917.32
8.2.170.0240.00720.31
8.2.160.0240.00618.29
8.2.150.0250.00220.78
8.2.140.0230.00420.94
8.2.130.0190.00719.28
8.2.120.0200.00621.78
8.2.110.0210.00619.09
8.2.100.0200.00917.59
8.2.90.0200.00617.70
8.2.80.0210.00717.73
8.2.70.0210.00517.26
8.2.60.0200.00517.65
8.2.50.0190.00817.75
8.2.40.0230.00819.65
8.2.30.0160.00818.98
8.2.20.0090.00417.42
8.2.10.0090.00417.77
8.2.00.0180.00617.64
8.1.330.0150.00818.91
8.1.320.0170.00715.83
8.1.310.0110.00517.21
8.1.300.0170.00117.98
8.1.290.0100.00523.38
8.1.280.0140.00320.85
8.1.270.0190.00620.50
8.1.260.0200.00522.65
8.1.250.0190.00822.67
8.1.240.0190.00319.90
8.1.230.0120.00319.16
8.1.220.0200.00317.54
8.1.210.0180.00517.84
8.1.200.0200.00417.28
8.1.190.0170.00717.09
8.1.180.0210.00417.55
8.1.170.0090.00717.96
8.1.160.0150.00817.85
8.1.150.0170.00718.03
8.1.140.0190.00518.31
8.1.130.0160.00817.40
8.1.120.0170.00617.23
8.1.110.0210.00617.16
8.1.100.0170.00717.20
8.1.90.0160.00817.15
8.1.80.0210.00317.34
8.1.70.0130.00317.32
8.1.60.0140.00717.37
8.1.50.0140.00417.25
8.1.40.0200.00417.43
8.1.30.0150.01017.51
8.1.20.0160.00717.55
8.1.10.0180.00617.25
8.1.00.0200.00417.21
8.0.300.0170.00718.24
8.0.290.0160.00816.55
8.0.280.0200.00717.45
8.0.270.0190.00716.76
8.0.260.0180.00616.90
8.0.250.0160.00716.70
8.0.240.0160.00716.68
8.0.230.0170.00416.83
8.0.220.0110.00616.52
8.0.210.0180.00516.71
8.0.200.0170.00516.82
8.0.190.0130.00716.61
8.0.180.0140.00516.39
8.0.170.0220.00316.60
8.0.160.0170.00616.52
8.0.150.0200.00316.61
8.0.140.0160.00516.71
8.0.130.0150.00714.85
8.0.120.0170.00616.65
8.0.110.0170.00516.51
8.0.100.0180.00716.50
8.0.90.0170.00516.51
8.0.80.0220.00716.62
8.0.70.0160.00716.63
8.0.60.0160.00716.52
8.0.50.0200.00616.41
8.0.30.0140.01116.88
8.0.20.0160.00817.09
8.0.10.0150.00816.75
8.0.00.0160.01016.64
7.4.330.0180.00415.68
7.4.320.0150.00516.29
7.4.300.0160.00616.20
7.4.290.0170.00516.18
7.4.280.0190.00516.29
7.4.270.0180.00516.31
7.4.260.0170.00316.38
7.4.250.0160.00416.29
7.4.240.0100.00616.33
7.4.230.0170.00416.24
7.4.220.0220.00616.39
7.4.210.0200.00416.34
7.4.200.0150.00516.27
7.4.190.0250.00816.28
7.4.180.0290.00816.27
7.4.160.0190.00716.47
7.4.150.0210.00816.79
7.4.140.0160.01117.30
7.4.130.0150.00916.29
7.4.120.0170.00816.13
7.4.110.0200.00716.23
7.4.100.0190.00816.15
7.4.90.0180.01016.07
7.4.80.0230.00817.60
7.4.70.0210.00816.00
7.4.60.0210.00816.21
7.4.50.0160.00916.19
7.4.40.0140.00616.19
7.4.30.0160.01316.30
7.4.20.0400.00416.07
7.4.10.0270.01016.09
7.4.00.0170.01215.59
7.3.330.0140.00614.44
7.3.320.0150.00514.41
7.3.310.0130.00815.93
7.3.300.0160.00515.92
7.3.290.0120.01016.10
7.3.280.0120.01016.12
7.3.270.0250.00516.54
7.3.260.0190.00816.33
7.3.250.0140.00816.08
7.3.240.0130.00916.24
7.3.230.0140.00216.23
7.3.220.0160.00116.05
7.3.210.0170.00915.93
7.3.200.0200.00617.58
7.3.190.0230.00716.12
7.3.180.0210.00616.19
7.3.170.0180.01116.14
7.3.160.0230.00416.08
7.3.150.0350.00616.14
7.3.140.0290.00815.95
7.3.130.0260.00816.09
7.3.120.0180.00815.33
7.3.110.0180.00615.16
7.3.100.0170.00915.34
7.3.90.0190.00815.37
7.3.80.0160.00615.38
7.3.70.0120.00715.36
7.3.60.0120.00815.38
7.3.50.0210.00415.35
7.3.40.0190.00615.41
7.3.30.0210.00415.25
7.3.20.0190.00817.21
7.3.10.0130.00717.30
7.3.00.0140.00717.15
7.2.340.0140.00416.25
7.2.330.0160.01016.25
7.2.320.0140.00916.09
7.2.310.0140.01016.20
7.2.300.0170.00816.26
7.2.290.0120.00816.22
7.2.280.0230.01015.95
7.2.270.0280.00716.10
7.2.260.0290.00616.16
7.2.250.0170.00815.37
7.2.240.0110.00715.46
7.2.230.0110.00615.42
7.2.220.0100.00415.57
7.2.210.0160.00915.29
7.2.200.0230.00215.44
7.2.190.0160.00615.61
7.2.180.0130.00215.53
7.2.170.0190.00715.61
7.2.160.0170.00815.57
7.2.150.0230.00517.46
7.2.140.0250.00317.34
7.2.130.0210.00417.43
7.2.120.0190.00717.36
7.2.110.0190.01017.29
7.2.100.0200.00717.34
7.2.90.0170.00417.43
7.2.80.0150.00517.15
7.2.70.0170.01017.55
7.2.60.0130.00717.08
7.2.50.0230.00717.13
7.2.40.1110.00617.42
7.2.30.0990.00717.54
7.2.20.1070.00417.58
7.2.10.0790.00917.67
7.2.00.0580.01017.96
7.1.330.0160.00816.34
7.1.320.0160.01016.25
7.1.310.0160.01016.38
7.1.300.0160.00916.23
7.1.290.0160.00916.24
7.1.280.0160.00716.42
7.1.270.0110.00916.26
7.1.260.0170.00716.20
7.1.250.0170.00516.27
7.1.240.0260.00916.77
7.1.230.0240.00817.09
7.1.220.0170.00517.15
7.1.210.0120.00417.12
7.1.200.0150.00616.41
7.1.190.0200.00516.70
7.1.180.0160.00416.92
7.1.170.0190.00417.03
7.1.160.1420.00616.81
7.1.150.1230.00816.82
7.1.140.1420.00716.91
7.1.130.1050.00916.82
7.1.120.0980.00716.90
7.1.110.1150.00816.50
7.1.100.0770.00717.01
7.1.90.1160.00716.22
7.1.80.0860.00816.35
7.1.70.0430.00516.19
7.1.60.0480.01422.93
7.1.50.0510.00922.10
7.1.40.0770.00924.56
7.1.30.0770.00824.80
7.1.20.0810.00924.69
7.1.10.0750.00815.67
7.1.00.0460.02817.93
7.0.330.0290.00516.25
7.0.320.0280.00616.23
7.0.310.0250.00816.55
7.0.300.0290.00516.50
7.0.290.1210.00516.27
7.0.280.0200.00616.19
7.0.270.1090.00616.44
7.0.260.1060.00716.59
7.0.250.1210.00716.22
7.0.240.1380.00816.10
7.0.230.1140.00816.23
7.0.220.1180.00816.20
7.0.210.0810.00915.69
7.0.200.0470.00616.14
7.0.190.0850.00715.76
7.0.180.0690.00515.43
7.0.170.0510.00715.56
7.0.160.0850.00815.55
7.0.150.0660.00815.36
7.0.140.0590.00815.59
7.0.130.0640.00615.57
7.0.120.0630.00715.61
7.0.110.0510.00715.58
7.0.100.0520.00815.62
7.0.90.0660.00815.37
7.0.80.0580.00815.27
7.0.70.0530.00815.45
7.0.60.0420.02216.89
7.0.50.0550.02417.04
7.0.40.0360.02017.18
7.0.30.0450.02517.16
7.0.20.0500.02317.15
7.0.10.0440.03017.11
7.0.00.0400.02317.07
5.6.400.0230.00915.39
5.6.390.0240.00915.45
5.6.380.0300.00715.48
5.6.370.0290.00515.41
5.6.360.0350.00615.35
5.6.350.0310.00615.38
5.6.340.0250.00815.46
5.6.330.0220.00415.37
5.6.320.0220.00715.54
5.6.310.0210.00915.49
5.6.300.0190.03118.09
5.6.290.0220.03018.13
5.6.280.0180.04219.01
5.6.270.0210.03818.10
5.6.260.0190.03218.12
5.6.250.0210.03018.18
5.6.240.0200.03118.22
5.6.230.0200.03118.06
5.6.220.0210.02818.04
5.6.210.0100.03318.97
5.6.200.0270.04219.09
5.6.190.0270.03919.20
5.6.180.0150.04019.12
5.6.170.0200.03919.21
5.6.160.0160.04019.08
5.6.150.0190.04119.15
5.6.140.0130.04619.06
5.6.130.0160.04319.05
5.6.120.0160.03819.23
5.6.110.0220.04119.10
5.6.100.0240.04119.17
5.6.90.0280.04319.10
5.6.80.0200.04318.71
5.6.70.0220.03718.80
5.6.60.0250.03518.76
5.6.50.0290.03818.70
5.6.40.0180.03818.79
5.6.30.0220.04718.79
5.6.20.0290.04218.71
5.6.10.0340.03718.69
5.6.00.0300.03418.63
5.5.380.0200.02916.46
5.5.370.0210.02816.47
5.5.360.0180.03016.29
5.5.350.1200.03217.78
5.5.340.0250.04118.00
5.5.330.0240.04118.13
5.5.320.0190.04118.07
5.5.310.0240.03818.16
5.5.300.0160.04818.11
5.5.290.0200.04118.19
5.5.280.0150.03918.17
5.5.270.0160.04318.20
5.5.260.0280.03818.04
5.5.250.0250.04318.08
5.5.240.0120.04017.67
5.5.230.0220.03517.66
5.5.220.0240.03917.71
5.5.210.0190.04117.75
5.5.200.0200.04017.61
5.5.190.0360.04017.70
5.5.180.0330.03817.64
5.5.170.0110.00215.21
5.5.160.0140.03617.70
5.5.150.0250.04017.59
5.5.140.0100.03817.70
5.5.130.0230.03717.55
5.5.120.0270.03717.58
5.5.110.0350.03417.58
5.5.100.0170.04017.64
5.5.90.0180.03517.56
5.5.80.0210.04017.67
5.5.70.0250.04817.62
5.5.60.0160.03817.65
5.5.50.0210.03717.61
5.5.40.0170.03817.66
5.5.30.0230.03217.65
5.5.20.0250.04517.63
5.5.10.0310.03817.56
5.5.00.0250.04017.51

preferences:
32.53 ms | 403 KiB | 5 Q