3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Animal { public function __construct(); public function __toString(); } interface Human { } 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.0100.01016.50
8.3.50.0100.00316.61
8.3.40.0100.00718.71
8.3.30.0130.00618.55
8.3.20.0040.00420.25
8.3.10.0040.00423.66
8.3.00.0020.00523.65
8.2.180.0040.01125.92
8.2.170.0140.00722.96
8.2.160.0070.00720.45
8.2.150.0100.00324.18
8.2.140.0050.00324.66
8.2.130.0060.00926.16
8.2.120.0070.00019.87
8.2.110.0100.00720.56
8.2.100.0070.00717.47
8.2.90.0000.00817.50
8.2.80.0060.00318.61
8.2.70.0030.00617.93
8.2.60.0040.00418.03
8.2.50.0040.00419.28
8.2.40.0050.00320.94
8.2.30.0000.00719.18
8.2.20.0000.00717.49
8.2.10.0090.00018.04
8.2.00.0040.00418.02
8.1.280.0110.00425.92
8.1.270.0040.00422.14
8.1.260.0040.00426.35
8.1.250.0100.00028.09
8.1.240.0030.00619.15
8.1.230.0120.00020.97
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01117.23
8.1.190.0040.00417.23
8.1.180.0040.00418.97
8.1.170.0040.00418.49
8.1.160.0070.00519.00
8.1.150.0050.00318.63
8.1.140.0040.00418.75
8.1.130.0000.00717.63
8.1.120.0040.00417.34
8.1.110.0030.00517.37
8.1.100.0000.00717.38
8.1.90.0000.00717.33
8.1.80.0000.00717.45
8.1.70.0000.00717.34
8.1.60.0050.00317.52
8.1.50.0040.00417.49
8.1.40.0080.00017.33
8.1.30.0040.00417.46
8.1.20.0080.00017.56
8.1.10.0000.00717.34
8.1.00.0040.00417.33
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.40
8.0.270.0030.00318.00
8.0.260.0040.00417.23
8.0.250.0040.00416.93
8.0.240.0080.00016.85
8.0.230.0030.00616.95
8.0.220.0000.00716.90
8.0.210.0070.00016.84
8.0.200.0000.00716.86
8.0.190.0000.00717.01
8.0.180.0050.00216.89
8.0.170.0000.00816.79
8.0.160.0030.00316.96
8.0.150.0060.00316.72
8.0.140.0040.00416.83
8.0.130.0000.00513.27
8.0.120.0080.00016.85
8.0.110.0070.00016.79
8.0.100.0000.00816.75
8.0.90.0000.00716.93
8.0.80.0030.01216.95
8.0.70.0040.00416.71
8.0.60.0020.00516.76
8.0.50.0030.00316.84
8.0.30.0060.00916.86
8.0.20.0100.00817.40
8.0.10.0040.00417.00
8.0.00.0110.00716.75
7.4.330.0000.00516.88
7.4.320.0030.00316.43
7.4.300.0030.00316.53
7.4.290.0030.00316.34
7.4.280.0000.00716.42
7.4.270.0030.00316.45
7.4.260.0000.00716.39
7.4.250.0030.00516.48
7.4.240.0000.00716.42
7.4.230.0030.00316.51
7.4.220.0120.01016.57
7.4.210.0100.01016.50
7.4.200.0070.00016.41
7.4.160.0120.00316.29
7.4.150.0090.01317.40
7.4.140.0120.00817.86
7.4.130.0150.00916.36
7.4.120.0070.01216.44
7.4.110.0090.00916.55
7.4.100.0160.00616.38
7.4.90.0030.01316.45
7.4.80.0070.01019.39
7.4.70.0060.01016.62
7.4.60.0060.01016.67
7.4.50.0170.00016.50
7.4.40.0100.00716.41
7.4.30.0060.01016.24
7.4.00.0060.01014.96
7.3.330.0060.00013.10
7.3.320.0030.00313.25
7.3.310.0020.00516.23
7.3.300.0070.00016.24
7.3.290.0080.00916.20
7.3.280.0100.00616.20
7.3.270.0130.00417.40
7.3.260.0150.00916.27
7.3.240.0110.00816.46
7.3.230.0090.00816.39
7.3.210.0090.00916.23
7.3.200.0130.01019.39
7.3.190.0210.02916.57
7.3.180.0130.00416.32
7.3.170.0120.00616.27
7.3.160.0060.01016.23
7.2.330.0100.01016.31
7.2.320.0110.00816.14
7.2.310.0130.01016.57
7.2.300.0080.00916.65
7.2.290.0130.00416.31
7.2.60.0000.01016.97
7.2.00.0030.00619.06
7.1.200.0040.01115.66
7.1.100.0060.00617.95
7.1.70.0030.00517.11
7.1.60.0140.01019.28
7.1.50.0030.01516.68
7.1.00.0070.07322.40
7.0.200.0000.01016.64
7.0.60.0230.07719.87
7.0.50.0100.07717.85
7.0.40.0100.09020.40
7.0.30.0170.04720.23
7.0.20.0230.05020.09
7.0.10.0030.05720.10
7.0.00.0030.06320.05
5.6.280.0030.07021.08
5.6.210.0000.08720.75
5.6.200.0000.05018.22
5.6.190.0100.08320.61
5.6.180.0100.09020.41
5.6.170.0270.06320.54
5.6.160.0030.04020.48
5.6.150.0100.06718.15
5.6.140.0030.07718.23
5.6.130.0030.05018.17
5.6.120.0030.05321.10
5.6.110.0030.08721.13
5.6.100.0100.08020.98
5.6.90.0130.07021.01
5.6.80.0000.04320.36
5.5.350.0330.07320.30
5.5.340.0070.08317.92
5.5.330.0030.04720.27
5.5.320.0330.04720.56
5.5.310.0270.07720.46
5.5.300.0030.07318.01
5.5.290.0030.04717.95
5.5.280.0130.06720.86
5.5.270.0170.06320.87
5.5.260.0130.07320.87
5.5.250.0200.07320.69
5.5.240.0100.08320.16

preferences:
64.42 ms | 400 KiB | 5 Q