3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Interfaze { public function hello($name); } class Clazz implements Interfaze { public function hello($name) { echo "Hello, $name!"; } }

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.0140.00416.63
8.3.50.0130.00621.99
8.3.40.0110.00418.40
8.3.30.0070.00718.46
8.3.20.0030.00620.34
8.3.10.0080.00023.68
8.3.00.0060.00319.26
8.2.180.0150.00317.93
8.2.170.0070.01022.96
8.2.160.0090.00420.39
8.2.150.0040.00425.66
8.2.140.0140.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00417.63
8.2.110.0030.00621.00
8.2.100.0090.00317.78
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0060.00317.92
8.2.50.0090.00018.10
8.2.40.0000.00821.10
8.2.30.0000.00820.54
8.2.20.0040.00417.53
8.2.10.0040.00418.00
8.2.00.0080.00017.86
8.1.280.0090.00925.92
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00320.91
8.1.230.0070.00719.48
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0050.00518.10
8.1.170.0000.00820.24
8.1.160.0040.00421.93
8.1.150.0060.00318.83
8.1.140.0050.00319.46
8.1.130.0030.00517.68
8.1.120.0080.00017.31
8.1.110.0000.00817.43
8.1.100.0030.00417.39
8.1.90.0000.00817.42
8.1.80.0000.00817.35
8.1.70.0000.00717.27
8.1.60.0030.00617.52
8.1.50.0030.00517.47
8.1.40.0040.00417.38
8.1.30.0050.00317.46
8.1.20.0000.00717.54
8.1.10.0000.00817.27
8.1.00.0040.00417.30
8.0.300.0050.00218.77
8.0.290.0030.00516.63
8.0.280.0040.00418.42
8.0.270.0040.00417.29
8.0.260.0030.00517.10
8.0.250.0030.00316.91
8.0.240.0000.00716.90
8.0.230.0060.00316.84
8.0.220.0040.00416.88
8.0.210.0040.00416.73
8.0.200.0000.00716.75
8.0.190.0040.00416.88
8.0.180.0000.00816.81
8.0.170.0050.00316.88
8.0.160.0050.00316.90
8.0.150.0030.00616.67
8.0.140.0000.00716.68
8.0.130.0060.00013.13
8.0.120.0050.00216.75
8.0.110.0000.00716.65
8.0.100.0000.00716.78
8.0.90.0000.00716.79
8.0.80.0120.00316.77
8.0.70.0040.00416.65
8.0.60.0040.00416.67
8.0.50.0000.00716.69
8.0.30.0060.01117.01
8.0.20.0100.00817.40
8.0.10.0040.00416.89
8.0.00.0090.00816.83
7.4.330.0060.00015.08
7.4.320.0040.00416.45
7.4.300.0040.00416.58
7.4.290.0030.00516.53
7.4.280.0080.00016.56
7.4.270.0040.00416.52
7.4.260.0030.00316.40
7.4.250.0070.00016.47
7.4.240.0010.00616.53
7.4.230.0080.00016.40
7.4.220.0090.01216.55
7.4.210.0070.00716.53
7.4.200.0000.00716.27
7.4.160.0060.00916.45
7.4.150.0040.01317.40
7.4.140.0160.00417.86
7.4.130.0210.00416.47
7.4.120.0080.01016.37
7.4.110.0090.00916.73
7.4.100.0060.00916.52
7.4.90.0160.00016.27
7.4.80.0100.00719.39
7.4.70.0090.00616.29
7.4.60.0110.00616.46
7.4.50.0000.00816.21
7.4.40.0120.00316.40
7.4.30.0100.00716.45
7.4.00.0000.01314.84
7.3.330.0030.00313.04
7.3.320.0000.00513.13
7.3.310.0030.00316.18
7.3.300.0030.00316.22
7.3.290.0070.00816.15
7.3.280.0090.00916.14
7.3.270.0100.01417.40
7.3.260.0090.00616.25
7.3.240.0140.00816.18
7.3.230.0060.01116.39
7.3.210.0030.01316.36
7.3.200.0040.01116.33
7.3.190.0070.01016.57
7.3.180.0040.01616.21
7.3.170.0110.00716.27
7.3.160.0090.01216.42
7.3.10.0080.00416.64
7.3.00.0070.00416.54
7.2.330.0040.01216.55
7.2.320.0070.01516.39
7.2.310.0090.01116.52
7.2.300.0130.00316.30
7.2.290.0100.01116.57
7.2.130.0030.01316.61
7.2.120.0030.01016.83
7.2.110.0030.00916.98
7.2.100.0030.00616.88
7.2.90.0000.01516.85
7.2.80.0060.00916.85
7.2.70.0030.00616.96
7.2.60.0040.01116.55
7.2.50.0070.01016.66
7.2.40.0070.01016.73
7.2.30.0100.00316.88
7.2.20.0100.00316.92
7.2.10.0000.01416.82
7.2.00.0170.01018.05
7.1.250.0060.00615.44
7.1.100.0030.01017.80
7.1.70.0040.00417.09
7.1.60.0110.01419.13
7.1.50.0070.01316.71
7.1.00.0130.06322.35
7.0.200.0030.00716.59
7.0.60.0070.05320.00
7.0.50.0100.03717.96
7.0.40.0030.08720.11
7.0.30.0330.06720.03
7.0.20.0330.07320.38
7.0.10.0270.08020.08
7.0.00.0100.08020.26
5.6.280.0030.05721.13
5.6.210.0100.07720.75
5.6.200.0070.04018.15
5.6.190.0030.04320.55
5.6.180.0430.07020.77
5.6.170.0300.05720.47
5.6.160.0030.05320.54
5.6.150.0100.07318.21
5.6.140.0100.07318.24
5.6.130.0030.06018.13
5.6.120.0030.05721.12
5.6.110.0070.06320.92
5.6.100.0000.09721.07
5.6.90.0030.04320.95
5.6.80.0100.07320.53
5.5.350.0070.06720.34
5.5.340.0100.07318.09
5.5.330.0070.03720.40
5.5.320.0030.04720.34
5.5.310.0130.04720.41
5.5.300.0100.07317.92
5.5.290.0070.03717.98
5.5.280.0100.08020.88
5.5.270.0030.06320.82
5.5.260.0030.04720.87
5.5.250.0030.05320.69
5.5.240.0030.07320.19
5.4.450.0230.06019.30
5.4.440.0200.06719.47
5.4.430.0300.04719.47
5.4.420.0270.05319.62
5.4.410.0230.05019.17
5.4.400.0170.05719.02
5.4.390.0170.05719.22
5.4.380.0170.06719.14
5.4.370.0270.04719.25
5.4.360.0230.07019.37
5.4.350.0200.07019.25
5.4.340.0230.06019.26
5.4.320.0230.05019.28
5.4.310.0130.06319.15
5.4.300.0230.05018.97
5.4.290.0100.06319.25
5.4.280.0230.04719.00
5.4.270.0130.05719.31
5.4.260.0270.04319.12
5.4.250.0230.05019.25
5.4.240.0270.06318.86
5.4.230.0170.05319.13
5.4.220.0300.07019.31
5.4.210.0170.05719.14
5.4.200.0100.05719.29
5.4.190.0200.05019.29
5.4.180.0300.04018.97
5.4.170.0130.06019.27
5.4.160.0270.06019.13
5.4.150.0170.08319.26
5.4.140.0130.05716.35
5.4.130.0200.05016.41
5.4.120.0200.05316.43
5.4.110.0170.07716.67
5.4.100.0170.07016.41
5.4.90.0130.06716.27
5.4.80.0200.05716.60
5.4.70.0170.05716.61
5.4.60.0170.05016.17
5.4.50.0100.06016.55
5.4.40.0170.05316.39
5.4.30.0200.05016.23
5.4.20.0230.04716.48
5.4.10.0200.05016.25
5.4.00.0170.05015.86

preferences:
34.3 ms | 401 KiB | 5 Q