3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface proxy {} class finalfoo { public function __construct() { if (is_subclass_of($this, __CLASS__, false)) { throw new \Exception('Nein! Class is final!'); } } } class fooproxy extends finalfoo implements proxy { } class naughtyfoo { } new finalfoo; new fooproxy; new naughtyfoo;

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.0140.00718.05
8.3.40.0110.00718.80
8.3.30.0090.00618.62
8.3.20.0050.00320.16
8.3.10.0090.00023.65
8.3.00.0040.00419.24
8.2.180.0110.00716.63
8.2.170.0080.00622.96
8.2.160.0070.00720.35
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00417.50
8.2.120.0030.00526.35
8.2.110.0110.00020.53
8.2.100.0100.00017.97
8.2.90.0040.00419.08
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00817.92
8.2.50.0060.00318.07
8.2.40.0030.00519.30
8.2.30.0040.00420.55
8.2.20.0040.00417.84
8.2.10.0000.00718.20
8.2.00.0040.00418.09
8.1.280.0180.00025.92
8.1.270.0000.01023.85
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0060.00322.04
8.1.230.0040.00720.87
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0080.00017.35
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0030.00518.64
8.1.160.0040.00421.89
8.1.150.0050.00318.84
8.1.140.0000.00819.39
8.1.130.0000.00817.60
8.1.120.0000.00717.45
8.1.110.0030.00517.40
8.1.100.0000.00717.29
8.1.90.0040.00417.29
8.1.80.0030.00317.27
8.1.70.0050.00217.36
8.1.60.0000.00817.40
8.1.50.0000.00817.48
8.1.40.0050.00317.45
8.1.30.0000.00817.49
8.1.20.0050.00217.58
8.1.10.0000.00817.54
8.1.00.0080.00017.43
8.0.300.0000.00718.77
8.0.290.0000.00816.88
8.0.280.0030.00318.44
8.0.270.0050.00517.18
8.0.260.0030.00317.25
8.0.250.0070.00016.92
8.0.240.0030.00317.04
8.0.230.0000.00816.90
8.0.220.0030.00316.84
8.0.210.0040.00417.02
8.0.200.0030.00316.94
8.0.190.0000.00816.93
8.0.180.0040.00417.04
8.0.170.0040.00416.84
8.0.160.0080.00016.83
8.0.150.0040.00416.92
8.0.140.0000.00716.73
8.0.130.0060.00013.32
8.0.120.0030.00516.84
8.0.110.0040.00416.96
8.0.100.0040.00417.04
8.0.90.0040.00416.82
8.0.80.0040.01116.93
8.0.70.0050.00216.86
8.0.60.0050.00316.82
8.0.50.0070.00016.81
8.0.30.0130.00717.17
8.0.20.0100.00717.40
8.0.10.0040.00416.91
8.0.00.0100.00716.75
7.4.330.0000.00516.85
7.4.320.0030.00316.55
7.4.300.0030.00316.45
7.4.290.0030.00316.44
7.4.280.0070.00016.50
7.4.270.0000.00716.39
7.4.260.0000.00716.47
7.4.250.0040.00416.45
7.4.240.0020.00516.57
7.4.230.0070.00016.57
7.4.220.0120.01516.54
7.4.210.0070.00716.54
7.4.200.0020.00516.36
7.4.160.0060.01016.55
7.4.150.0100.00717.40
7.4.140.0120.00417.86
7.4.130.0040.01516.49
7.4.120.0060.01116.45
7.4.110.0060.01316.61
7.4.100.0040.01416.63
7.4.90.0040.01416.58
7.4.80.0070.01019.39
7.4.70.0110.00616.55
7.4.60.0100.00616.28
7.4.50.0080.00616.63
7.4.40.0110.01116.53
7.4.30.0030.01416.62
7.4.00.0110.00414.68
7.3.330.0050.00013.19
7.3.320.0000.00513.43
7.3.310.0070.00016.16
7.3.300.0030.00316.33
7.3.290.0000.00716.41
7.3.280.0100.00916.38
7.3.270.0170.00617.40
7.3.260.0120.00816.53
7.3.240.0140.00616.38
7.3.230.0060.01016.39
7.3.210.0100.00716.37
7.3.200.0100.01016.63
7.3.190.0130.00316.50
7.3.180.0130.00316.52
7.3.170.0080.00816.59
7.3.160.0100.00716.49
7.3.120.0000.01715.07
7.3.110.0030.01314.87
7.3.100.0030.01414.39
7.3.90.0070.00715.05
7.3.80.0110.00315.05
7.3.70.0070.00714.53
7.3.60.0100.00714.97
7.3.50.0060.00614.68
7.3.40.0030.01314.61
7.3.30.0000.01614.92
7.3.20.0070.01016.68
7.3.10.0070.00616.58
7.3.00.0030.01016.43
7.2.330.0120.00616.67
7.2.320.0100.01316.44
7.2.310.0120.00616.57
7.2.300.0060.01016.51
7.2.290.0120.00616.36
7.2.240.0100.00714.59
7.2.230.0060.00615.00
7.2.220.0040.01415.01
7.2.210.0040.00814.90
7.2.200.0130.00014.66
7.2.190.0030.00614.94
7.2.180.0070.00715.12
7.2.170.0040.00815.01
7.2.160.0030.01014.97
7.2.150.0090.00616.91
7.2.140.0080.00817.04
7.2.130.0010.01216.92
7.2.120.0050.01116.87
7.2.110.0080.00816.69
7.2.100.0090.00516.92
7.2.90.0070.00916.88
7.2.80.0120.00316.91
7.2.70.0080.00716.62
7.2.60.0070.00816.87
7.2.50.0050.01116.68
7.2.40.0050.01116.79
7.2.30.0060.00616.86
7.2.20.0070.00716.96
7.2.10.0040.01216.82
7.2.00.0040.00917.50
7.1.330.0090.00615.50
7.1.320.0070.00715.57
7.1.310.0060.00615.67
7.1.300.0100.00315.90
7.1.290.0000.01215.75
7.1.280.0040.01115.85
7.1.270.0080.00415.50
7.1.260.0000.01415.83
7.1.250.0050.00915.71
7.1.200.0070.00315.56
7.1.100.0030.01017.93
7.1.70.0000.00716.85
7.1.60.0040.00719.48
7.1.50.0070.00416.87
7.1.00.0030.07722.54
7.0.200.0280.00314.69
7.0.60.0030.05320.06
7.0.50.0100.07317.89
7.0.40.0070.07719.96
7.0.30.0370.04020.18
7.0.20.0200.04020.16
7.0.10.0070.04020.06
7.0.00.0100.08020.12
5.6.210.0070.08020.50
5.6.200.0030.05718.24
5.6.190.0170.03320.58
5.6.180.0270.04720.34
5.6.170.0300.07720.54
5.6.160.0100.07320.43
5.6.150.0130.08318.28
5.6.140.0070.08318.18
5.6.130.0170.04318.18
5.6.120.0130.07021.04
5.6.110.0100.06720.99
5.6.100.0070.08020.89
5.6.90.0030.05020.97
5.6.80.0100.07020.48
5.5.350.3730.04020.35
5.5.340.0130.07717.98
5.5.330.0000.07320.53
5.5.320.0070.08020.30
5.5.310.0330.05020.36
5.5.300.0100.04018.01
5.5.290.0100.06318.07
5.5.280.0070.05320.87
5.5.270.0070.05320.64
5.5.260.0130.06320.89
5.5.250.0030.08320.58
5.5.240.0200.04720.14

preferences:
44.25 ms | 401 KiB | 5 Q