3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I1 { public function F1(); public static function FS2(); public static function FS3(); } abstract class C1 implements I1 { public function __construct() { static::F1(); } public static function FS2() { static::FS3(); } } abstract class C2 extends C1 { public function F1() { echo __CLASS__; } public final static function FS3() { echo __CLASS__; } } final class C3 extends C2 { public function __construct() { parent::__construct(); self::FS2(); } public function F1() { echo __CLASS__; } } class C4 extends C2 { public function F1() { } } //$_class = new C2(); C4::FS2();

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.70.0120.00918.15
8.3.60.0070.01116.75
8.3.50.0070.00718.17
8.3.40.0160.00618.85
8.3.30.0070.00718.42
8.3.20.0050.00319.15
8.3.10.0040.00421.63
8.3.00.0040.00423.32
8.2.180.0040.01418.28
8.2.170.0060.00922.96
8.2.160.0060.00819.15
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00420.51
8.2.120.0080.00026.35
8.2.110.0000.01122.00
8.2.100.0080.00417.77
8.2.90.0030.00619.09
8.2.80.0030.00517.97
8.2.70.0040.00417.90
8.2.60.0000.00817.91
8.2.50.0040.00418.10
8.2.40.0040.00419.20
8.2.30.0000.01019.17
8.2.20.0060.00318.06
8.2.10.0030.00518.07
8.2.00.0070.00019.46
8.1.280.0180.00425.92
8.1.270.0040.00422.15
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00022.30
8.1.230.0090.00318.96
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0060.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00418.88
8.1.160.0000.00718.77
8.1.150.0000.00818.91
8.1.140.0060.00317.64
8.1.130.0000.00818.86
8.1.120.0030.00517.45
8.1.110.0000.00817.38
8.1.100.0040.00417.31
8.1.90.0080.00017.37
8.1.80.0000.00717.39
8.1.70.0030.00517.25
8.1.60.0000.00817.45
8.1.50.0060.00317.38
8.1.40.0040.00417.49
8.1.30.0110.00017.45
8.1.20.0000.00717.55
8.1.10.0040.00717.53
8.1.00.0080.00017.38
8.0.300.0000.00718.77
8.0.290.0060.00316.58
8.0.280.0030.00318.44
8.0.270.0000.00717.23
8.0.260.0040.00417.19
8.0.250.0050.00317.05
8.0.240.0030.00316.96
8.0.230.0000.00716.92
8.0.220.0030.00316.88
8.0.210.0030.00316.94
8.0.200.0000.00716.94
8.0.190.0080.00016.95
8.0.180.0040.00416.94
8.0.170.0060.00316.90
8.0.160.0040.00416.86
8.0.150.0070.00316.84
8.0.140.0030.00316.83
8.0.130.0000.00613.36
8.0.120.0040.00416.89
8.0.110.0040.00416.96
8.0.100.0040.00416.95
8.0.90.0040.00416.70
8.0.80.0100.00616.81
8.0.70.0040.00416.87
8.0.60.0040.00416.78
8.0.50.0000.00716.63
8.0.30.0110.00716.97
8.0.20.0090.01317.40
8.0.10.0000.00716.97
8.0.00.0060.01216.81
7.4.330.0000.00615.55
7.4.320.0060.00016.58
7.4.300.0030.00316.51
7.4.290.0030.00316.50
7.4.280.0030.00616.45
7.4.270.0030.00716.63
7.4.260.0040.00416.49
7.4.250.0030.00316.57
7.4.240.0030.00316.61
7.4.230.0030.00316.63
7.4.220.0030.00516.29
7.4.210.0070.00816.52
7.4.200.0030.00316.35
7.4.160.0080.00816.55
7.4.140.0080.01017.86
7.4.130.0130.01016.71
7.4.120.0160.00216.49
7.4.110.0140.00316.51
7.4.100.0060.01016.54
7.4.90.0100.01316.55
7.4.80.0100.01019.39
7.4.70.0180.00016.47
7.4.60.0070.01116.41
7.4.50.0000.01116.48
7.4.40.0050.01116.40
7.4.00.0070.00914.92
7.3.330.0000.00513.31
7.3.320.0030.00313.32
7.3.310.0040.00416.34
7.3.300.0030.00316.18
7.3.290.0000.00716.16
7.3.280.0130.00316.28
7.3.260.0080.00916.50
7.3.240.0100.01016.54
7.3.230.0100.00716.49
7.3.210.0130.01116.26
7.3.200.0030.01516.40
7.3.190.0030.01316.28
7.3.180.0130.00416.57
7.3.170.0000.01616.34
7.3.160.0080.00816.32
7.3.120.0080.01014.67
7.3.110.0050.01214.70
7.3.100.0090.00614.71
7.3.90.0050.01114.66
7.3.80.0090.00514.68
7.3.70.0050.00714.80
7.3.60.0080.00314.78
7.3.50.0050.01014.79
7.3.40.0050.00914.58
7.3.30.0030.00914.77
7.3.20.0050.01016.67
7.3.10.0050.00916.45
7.3.00.0050.00816.56
7.2.330.0040.02316.66
7.2.320.0060.00916.40
7.2.310.0110.00716.23
7.2.300.0090.00916.30
7.2.290.0130.01016.70
7.2.250.0090.00814.78
7.2.240.0080.01014.71
7.2.230.0040.00814.98
7.2.220.0110.00615.16
7.2.210.0090.00714.96
7.2.200.0050.01114.92
7.2.190.0060.00814.81
7.2.180.0050.00914.90
7.2.170.0070.00814.65
7.2.160.0000.01314.83
7.2.150.0070.00716.77
7.2.140.0060.00916.89
7.2.130.0120.00316.68
7.2.120.0040.00616.63
7.2.110.0110.00416.64
7.2.100.0080.00716.62
7.2.90.0050.00916.84
7.2.80.0050.00616.88
7.2.70.0550.00716.31
7.2.60.0390.00616.12
7.2.50.0390.01016.08
7.2.40.0370.00716.21
7.2.30.0330.00916.20
7.2.20.0340.01016.18
7.2.10.0380.00516.22
7.2.00.0330.00415.88
7.1.330.0120.00415.66
7.1.320.0080.00815.68
7.1.310.0070.00815.78
7.1.300.0040.00915.65
7.1.290.0040.00815.57
7.1.280.0020.00715.63
7.1.270.0070.00715.80
7.1.260.0050.01015.70
7.1.250.0050.00515.51
7.1.240.0040.01115.41
7.1.230.0040.00915.57
7.1.220.0040.00915.62
7.1.210.0040.00815.74
7.1.200.0090.00515.67
7.1.190.0050.00715.71
7.1.180.0060.00415.71
7.1.170.0370.00614.88
7.1.160.0350.00915.16
7.1.150.0400.00214.98
7.1.140.0470.00815.08
7.1.130.0300.00614.95
7.1.120.0460.00715.12
7.1.110.0420.00614.96
7.1.100.0330.00715.01
7.1.90.0390.00614.94
7.1.80.0370.00814.91
7.1.70.0400.00614.95
7.1.60.0640.01220.89
7.1.50.0710.00120.87
7.1.40.0580.01020.96
7.1.30.0600.00920.78
7.1.20.0230.00920.81
7.1.10.0060.00714.86
7.1.00.0400.00614.87
7.0.330.0050.00715.11
7.0.320.0110.00315.28
7.0.310.0040.01215.30
7.0.300.0030.01015.34
7.0.290.0060.00615.46
7.0.280.0040.01215.28
7.0.270.0140.00015.23
7.0.260.0110.00415.42
7.0.250.0090.00415.28
7.0.240.0030.01015.18
7.0.230.0040.01215.10
7.0.220.0100.00315.24
7.0.210.0070.00715.32
7.0.200.0060.00415.39
7.0.190.0090.00315.24
7.0.180.0060.00315.36
7.0.170.0030.01015.37
7.0.160.0080.00415.38
7.0.150.0030.01015.21
7.0.140.0060.00615.09
7.0.130.0030.01015.24
7.0.120.0000.01215.46
7.0.110.0080.00015.48
7.0.100.0030.00915.46
7.0.90.0030.01015.46
7.0.80.0100.00315.44
7.0.70.0060.00315.29
7.0.60.0030.00615.21
7.0.50.0090.00615.48
7.0.40.0100.00313.46
7.0.30.0060.00313.37
7.0.20.0060.00613.30
7.0.10.0000.01113.20
7.0.00.0030.01213.23
5.6.400.0030.00614.12
5.6.390.0030.01214.21
5.6.380.0010.00714.24
5.6.370.0030.01014.61
5.6.360.0030.01014.43
5.6.350.0000.01714.00
5.6.340.0040.00414.55
5.6.330.0060.00914.23
5.6.320.0090.00914.34
5.6.310.0060.00914.34
5.6.300.0030.00714.26
5.6.290.0030.01314.26
5.6.280.0100.00014.20
5.6.270.0060.00614.00
5.6.260.0060.00614.20
5.6.250.0030.01014.41
5.6.240.0110.00314.39
5.6.230.0130.00014.30
5.6.220.0100.00014.17
5.6.210.0090.00614.07
5.6.200.0030.01214.43
5.6.190.0070.01114.16
5.6.180.0070.00714.36
5.6.170.0060.00814.19
5.6.160.0070.00714.39
5.6.150.0070.01013.98
5.6.140.0040.00914.11
5.6.130.0100.00314.22
5.6.120.0060.00913.96
5.6.110.0030.01213.74
5.6.100.0000.00914.25
5.6.90.0070.00414.18
5.6.80.0040.01114.07
5.6.70.0030.00714.02
5.6.60.0040.01113.95
5.6.50.0000.01014.42
5.6.40.0000.00813.96
5.6.30.0000.01114.27
5.6.20.0080.00014.10
5.6.10.0080.00414.48
5.6.00.0000.01714.17

preferences:
58.02 ms | 400 KiB | 5 Q