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() { // } } 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.0180.00016.63
8.3.50.0090.01121.03
8.3.40.0090.00918.67
8.3.30.0070.01418.46
8.3.20.0070.00020.21
8.3.10.0040.00423.65
8.3.00.0040.00423.44
8.2.180.0110.01116.38
8.2.170.0140.00022.96
8.2.160.0100.00320.47
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.82
8.2.110.0000.00920.99
8.2.100.0120.00017.80
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0060.00317.38
8.2.60.0040.00417.80
8.2.50.0080.00018.09
8.2.40.0040.00422.30
8.2.30.0080.00019.37
8.2.20.0040.00417.49
8.2.10.0040.00418.02
8.2.00.0050.00317.86
8.1.280.0100.01025.92
8.1.270.0040.00422.11
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0060.00322.42
8.1.230.0000.01119.21
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0000.00720.73
8.1.150.0000.00820.56
8.1.140.0000.00819.48
8.1.130.0000.00717.50
8.1.120.0080.00017.46
8.1.110.0040.00417.28
8.1.100.0040.00417.43
8.1.90.0000.00817.37
8.1.80.0040.00417.34
8.1.70.0040.00417.38
8.1.60.0000.00817.56
8.1.50.0030.00617.39
8.1.40.0030.00517.40
8.1.30.0040.00417.43
8.1.20.0000.00717.55
8.1.10.0040.00417.29
8.1.00.0040.00417.19
8.0.300.0060.00318.77
8.0.290.0000.00816.63
8.0.280.0000.00718.37
8.0.270.0000.00717.28
8.0.260.0030.00317.13
8.0.250.0000.00716.85
8.0.240.0030.00316.95
8.0.230.0070.00016.86
8.0.220.0000.00716.89
8.0.210.0000.00816.90
8.0.200.0000.00716.94
8.0.190.0000.00816.84
8.0.180.0030.00516.87
8.0.170.0050.00316.79
8.0.160.0040.00416.92
8.0.150.0000.01016.91
8.0.140.0030.00516.73
8.0.130.0050.00013.39
8.0.120.0030.00516.76
8.0.110.0070.00016.89
8.0.100.0080.00016.89
8.0.90.0030.00616.89
8.0.80.0110.00416.84
8.0.70.0060.00316.79
8.0.60.0040.00416.87
8.0.50.0000.00716.91
8.0.30.0040.01417.01
8.0.20.0090.00917.40
8.0.10.0040.00417.06
8.0.00.0130.00716.67
7.4.330.0050.00016.78
7.4.320.0000.00616.54
7.4.300.0000.00716.43
7.4.290.0040.00416.34
7.4.280.0040.00416.52
7.4.270.0070.00016.47
7.4.260.0070.00016.41
7.4.250.0040.00416.50
7.4.240.0030.00316.51
7.4.230.0030.00316.29
7.4.220.0170.00316.43
7.4.210.0120.00916.46
7.4.200.0030.00316.54
7.4.160.0060.00916.61
7.4.150.0160.00017.40
7.4.140.0100.01117.86
7.4.130.0070.01116.34
7.4.120.0050.01416.38
7.4.110.0070.01116.49
7.4.100.0060.01016.61
7.4.90.0030.02016.36
7.4.80.0170.00019.39
7.4.70.0110.00716.38
7.4.60.0110.00616.42
7.4.50.0070.01016.63
7.4.40.0040.01216.27
7.4.30.0150.00316.45
7.4.00.0000.01514.51
7.3.330.0030.00313.24
7.3.320.0030.00313.23
7.3.310.0070.00016.25
7.3.300.0000.00616.17
7.3.290.0090.00716.19
7.3.280.0110.00616.23
7.3.270.0070.01117.40
7.3.260.0090.01316.37
7.3.240.0140.00616.29
7.3.230.0140.00316.39
7.3.210.0040.01216.34
7.3.200.0150.00319.39
7.3.190.0150.00616.23
7.3.180.0060.01516.36
7.3.170.0110.00516.42
7.3.160.0060.00916.33
7.2.330.0030.01416.64
7.2.320.0070.01316.43
7.2.310.0070.01416.22
7.2.300.0100.00716.58
7.2.290.0140.00316.43
7.2.60.0060.00916.24
7.2.00.0060.00919.13
7.1.200.0070.00715.73
7.1.100.0060.00918.27
7.1.70.0000.00816.90
7.1.60.0090.01519.28
7.1.50.0140.00016.86
7.1.00.0030.07322.33
7.0.200.0070.00316.35
7.0.60.0000.08021.73
7.0.50.0100.03317.87
7.0.40.0100.06320.14
7.0.30.0500.06720.26
7.0.20.0200.06720.30
7.0.10.0070.06720.10
7.0.00.0000.04320.24
5.6.280.0070.04321.12
5.6.210.0030.08720.73
5.6.200.0130.07318.25
5.6.190.0100.08720.68
5.6.180.0200.05020.45
5.6.170.0230.04720.39
5.6.160.0000.06020.54
5.6.150.0130.04718.16
5.6.140.0030.04318.12
5.6.130.0030.04018.28
5.6.120.0000.04721.00
5.6.110.0130.06020.99
5.6.100.0130.08020.98
5.6.90.0070.08321.13
5.6.80.0100.03320.38
5.5.350.3530.03720.43
5.5.340.0130.07017.99
5.5.330.0070.08720.27
5.5.320.0630.07020.38
5.5.310.0200.04020.36
5.5.300.0100.08318.08
5.5.290.0070.09017.98
5.5.280.0100.04020.65
5.5.270.0100.08020.86
5.5.260.0070.08320.72
5.5.250.0100.07720.69
5.5.240.0170.08320.19

preferences:
65.22 ms | 401 KiB | 5 Q