3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Animal { public function __construct(); public function __toString(); } interface Human { public function __construct($gender); } class People implements Animal, Human { public function __construct($gender) { // } } new People(); //

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.0130.00716.47
8.3.50.0130.00520.97
8.3.40.0120.00318.55
8.3.30.0070.01518.53
8.3.20.0000.00720.25
8.3.10.0050.00323.67
8.3.00.0070.00023.50
8.2.180.0120.00916.38
8.2.170.0150.00022.96
8.2.160.0100.00320.32
8.2.150.0060.00924.18
8.2.140.0070.00024.66
8.2.130.0040.00421.13
8.2.120.0000.00826.35
8.2.110.0060.00321.04
8.2.100.0110.00017.91
8.2.90.0050.00319.27
8.2.80.0050.00317.97
8.2.70.0060.00317.50
8.2.60.0020.00517.90
8.2.50.0030.00618.09
8.2.40.0050.00322.29
8.2.30.0050.00319.43
8.2.20.0040.00417.66
8.2.10.0000.00717.98
8.2.00.0000.00817.98
8.1.280.0140.00325.92
8.1.270.0030.00522.06
8.1.260.0050.00228.09
8.1.250.0040.00428.09
8.1.240.0030.00622.42
8.1.230.0090.00319.15
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0050.00517.10
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0030.00618.59
8.1.160.0000.00720.69
8.1.150.0030.00520.61
8.1.140.0040.00422.18
8.1.130.0030.00317.26
8.1.120.0020.00517.40
8.1.110.0000.00717.35
8.1.100.0040.00417.38
8.1.90.0070.00017.25
8.1.80.0040.00417.28
8.1.70.0030.00317.36
8.1.60.0070.00017.54
8.1.50.0040.00417.48
8.1.40.0080.00017.45
8.1.30.0050.00317.45
8.1.20.0000.00817.41
8.1.10.0070.00017.27
8.1.00.0030.00617.19
8.0.300.0100.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00818.28
8.0.270.0000.00717.17
8.0.260.0030.00316.68
8.0.250.0000.00716.86
8.0.240.0030.00316.88
8.0.230.0000.00716.96
8.0.220.0020.00516.87
8.0.210.0040.00416.92
8.0.200.0000.00616.95
8.0.190.0070.00016.91
8.0.180.0040.00416.87
8.0.170.0030.00616.80
8.0.160.0050.00216.95
8.0.150.0070.00016.72
8.0.140.0040.00416.88
8.0.130.0030.00313.32
8.0.120.0000.00816.85
8.0.110.0050.00316.84
8.0.100.0040.00416.66
8.0.90.0040.00416.92
8.0.80.0110.00416.84
8.0.70.0030.00616.87
8.0.60.0030.00316.86
8.0.50.0040.00416.74
8.0.30.0070.01217.00
8.0.20.0120.00617.40
8.0.10.0000.00716.86
8.0.00.0100.01016.58
7.4.330.0000.00516.76
7.4.320.0000.00616.36
7.4.300.0040.00416.48
7.4.290.0000.00816.52
7.4.280.0070.00016.55
7.4.270.0030.00316.45
7.4.260.0030.00316.34
7.4.250.0020.00516.49
7.4.240.0040.00416.48
7.4.230.0040.00416.62
7.4.220.0090.00916.57
7.4.210.0090.00916.56
7.4.200.0070.00016.29
7.4.160.0040.01116.50
7.4.150.0060.01117.40
7.4.140.0140.00717.86
7.4.130.0080.01016.41
7.4.120.0100.00816.40
7.4.110.0120.00616.54
7.4.100.0100.00616.51
7.4.90.0070.01016.55
7.4.80.0120.00919.39
7.4.70.0000.01616.58
7.4.60.0030.01316.36
7.4.50.0050.00816.34
7.4.40.0140.00316.11
7.4.30.0100.00716.29
7.4.00.0030.01314.68
7.3.330.0050.00013.21
7.3.320.0000.00513.31
7.3.310.0040.00316.09
7.3.300.0080.00016.23
7.3.290.0100.00816.21
7.3.280.0090.00816.23
7.3.270.0090.00917.40
7.3.260.0070.01016.35
7.3.250.0110.00616.32
7.3.240.0110.00816.34
7.3.230.0130.00416.39
7.3.210.0090.00616.36
7.3.200.0030.01419.39
7.3.190.0120.00416.24
7.3.180.0120.00916.45
7.3.170.0130.01016.45
7.3.160.0100.00716.41
7.2.330.0070.01016.28
7.2.320.0170.00616.50
7.2.310.0110.01116.38
7.2.300.0100.00716.52
7.2.290.0100.01316.38
7.2.60.0030.01016.52
7.2.00.0040.01118.95
7.1.200.0040.00415.73
7.1.100.0080.00318.17
7.1.70.0000.01017.15
7.1.60.0180.00719.28
7.1.50.0040.00816.83
7.1.00.0070.07322.40
7.0.200.0000.01016.61
7.0.60.0070.08021.84
7.0.50.0070.04317.72
7.0.40.0100.07320.09
7.0.30.0470.07720.07
7.0.20.0330.06720.20
7.0.10.0100.08020.09
7.0.00.0030.04020.20
5.6.280.0030.04721.07
5.6.210.0100.07720.65
5.6.200.0070.04718.17
5.6.190.0070.04320.55
5.6.180.0270.07720.57
5.6.170.0430.08020.53
5.6.160.0130.07720.48
5.6.150.0100.03718.16
5.6.140.0030.08718.14
5.6.130.0070.03718.15
5.6.120.0070.04021.06
5.6.110.0070.07020.99
5.6.100.0130.08021.00
5.6.90.0070.05020.93
5.6.80.0100.03320.29
5.5.350.4130.04320.33
5.5.340.0130.07317.94
5.5.330.0030.06320.29
5.5.320.0570.06720.31
5.5.310.0200.04720.35
5.5.300.0000.09018.05
5.5.290.0030.08017.98
5.5.280.0070.04020.89
5.5.270.0130.07720.78
5.5.260.0130.05320.63
5.5.250.0130.07720.79
5.5.240.0170.08020.28

preferences:
60.71 ms | 401 KiB | 5 Q