3v4l.org

run code in 300+ PHP versions simultaneously
<?php class DEP1{} class DEP2{} class DEP3{} interface A{ function get1(): DEP1; function get2(): DEP2; function get3(): DEP3; } class AImpl implements A{ function __construct(DEP1 $x, DEP2 $y, DEP3 $z){ $this->x = $x; $this->y = $y; $this->z = $z; } function get1(): DEP1{ return $this->x; } function get2(): DEP2{ return $this->y; } function get3(): DEP3{ return $this->z; } }

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.0000.01516.63
8.3.50.0140.00521.25
8.3.40.0110.00418.77
8.3.30.0140.00018.56
8.3.20.0070.00020.16
8.3.10.0070.00021.85
8.3.00.0050.00321.89
8.2.180.0090.00918.41
8.2.170.0140.00722.96
8.2.160.0110.00419.16
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00420.51
8.2.110.0030.00619.33
8.2.100.0080.00417.77
8.2.90.0030.00519.09
8.2.80.0060.00317.97
8.2.70.0030.00617.50
8.2.60.0050.00317.80
8.2.50.0060.00318.09
8.2.40.0000.00822.32
8.2.30.0080.00019.26
8.2.20.0070.00017.64
8.2.10.0060.00317.98
8.2.00.0000.00718.00
8.1.280.0100.00625.92
8.1.270.0090.00021.86
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0030.00722.00
8.1.230.0100.00017.64
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.00
8.1.190.0050.00317.10
8.1.180.0080.00018.10
8.1.170.0060.00318.67
8.1.160.0000.00720.62
8.1.150.0060.00320.62
8.1.140.0070.00017.27
8.1.130.0000.00717.55
8.1.120.0040.00417.42
8.1.110.0050.00217.46
8.1.100.0030.00617.40
8.1.90.0080.00017.30
8.1.80.0050.00417.29
8.1.70.0030.00317.39
8.1.60.0000.00817.43
8.1.50.0030.00617.46
8.1.40.0040.00417.37
8.1.30.0050.00317.49
8.1.20.0040.00417.59
8.1.10.0040.00417.30
8.1.00.0040.00417.36
8.0.300.0050.00318.77
8.0.290.0040.00416.58
8.0.280.0050.00318.44
8.0.270.0040.00416.74
8.0.260.0000.00817.11
8.0.250.0070.00016.91
8.0.240.0000.00716.92
8.0.230.0030.00316.90
8.0.220.0060.00316.82
8.0.210.0030.00316.73
8.0.200.0030.00716.81
8.0.190.0000.00916.87
8.0.180.0040.00416.85
8.0.170.0040.00416.91
8.0.160.0050.00316.83
8.0.150.0080.00016.82
8.0.140.0070.00316.86
8.0.130.0000.00513.22
8.0.120.0040.00416.67
8.0.110.0000.00716.76
8.0.100.0040.00416.75
8.0.90.0050.00316.91
8.0.80.0110.00416.90
8.0.70.0000.00716.77
8.0.60.0020.00516.66
8.0.50.0040.00416.62
8.0.30.0050.01217.23
8.0.20.0120.00717.40
8.0.10.0000.00816.93
8.0.00.0090.00916.71
7.4.330.0050.00016.84
7.4.320.0030.00316.54
7.4.300.0060.00016.45
7.4.290.0000.00716.56
7.4.280.0040.00416.52
7.4.270.0000.00816.41
7.4.260.0000.00716.52
7.4.250.0070.00016.55
7.4.240.0030.00516.43
7.4.230.0000.00816.42
7.4.220.0090.00916.44
7.4.210.0070.01016.53
7.4.200.0040.00416.45
7.4.160.0100.00716.34
7.4.150.0150.00317.40
7.4.140.0100.01317.86
7.4.130.0080.01016.37
7.4.120.0030.01416.41
7.4.110.0030.01416.25
7.4.100.0090.01016.54
7.4.90.0090.00916.47
7.4.80.0130.00319.39
7.4.70.0030.01216.30
7.4.60.0030.01316.23
7.4.50.0110.00416.38
7.4.40.0130.00316.50
7.4.30.0070.01416.61
7.4.00.0140.00414.66
7.3.330.0020.00213.16
7.3.320.0030.00213.14
7.3.310.0000.00716.18
7.3.300.0000.00716.14
7.3.290.0040.00415.99
7.3.280.0100.00716.18
7.3.270.0140.00717.40
7.3.260.0030.01416.41
7.3.250.0160.00616.33
7.3.240.0120.00516.23
7.3.230.0070.01016.39
7.3.210.0100.00616.04
7.3.200.0030.01319.39
7.3.190.0140.00316.29
7.3.180.0110.01116.23
7.3.170.0060.01216.44
7.3.160.0070.00716.20
7.2.330.0160.00316.52
7.2.320.0120.00616.55
7.2.310.0070.01716.63
7.2.300.0060.01216.34
7.2.290.0090.01216.65
7.2.60.0000.01116.88
7.1.200.0110.00315.77
7.1.100.0080.00417.88
7.1.70.0060.00317.15
7.1.60.0140.01119.40
7.1.50.0060.01216.48
7.1.00.0000.07022.48
7.0.200.0530.00614.54
7.0.60.0270.06721.75
7.0.50.0070.04017.88
7.0.40.0130.07720.21
7.0.30.0500.07320.34
7.0.20.0370.08020.30
7.0.10.0170.08020.26
7.0.00.0130.08020.21
5.6.210.0130.07720.63
5.6.200.0000.04318.22
5.6.190.0100.08320.77
5.6.180.0170.04320.52
5.6.170.0370.04020.52
5.6.160.0100.04720.51
5.6.150.0070.04318.12
5.6.140.0070.07718.17
5.6.130.0070.05318.21
5.6.120.0100.06721.02
5.6.110.0100.08021.14
5.6.100.0030.04020.96
5.6.90.0200.08020.93
5.6.80.0100.07720.41
5.5.350.0100.04020.47
5.5.340.0070.05318.07
5.5.330.0130.06720.27
5.5.320.0270.03320.34
5.5.310.0400.07720.34
5.5.300.0070.05017.97
5.5.290.0000.09717.97
5.5.280.0070.05320.90
5.5.270.0030.04020.87
5.5.260.0070.04020.97
5.5.250.0100.03320.66
5.5.240.0070.05020.16

preferences:
70.85 ms | 401 KiB | 5 Q