3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class A { abstract public function bar(\stdClass $x); } abstract class B extends A { abstract public function bar(\stdClass $x); }

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.140.0080.00820.68
8.3.130.0040.00418.43
8.3.120.0130.00618.54
8.3.110.0090.00620.94
8.3.100.0150.00424.06
8.3.90.0090.00926.77
8.3.80.0030.00717.97
8.3.70.0100.00716.50
8.3.60.0090.00616.38
8.3.50.0090.01017.15
8.3.40.0140.00718.72
8.3.30.0120.00418.61
8.3.20.0020.00520.20
8.3.10.0080.00022.09
8.3.00.0000.00723.60
8.2.250.0070.00716.39
8.2.240.0090.00916.93
8.2.230.0000.00922.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0030.00618.11
8.2.190.0110.00716.58
8.2.180.0090.01216.38
8.2.170.0070.00722.96
8.2.160.0180.00320.38
8.2.150.0050.00325.66
8.2.140.0020.00524.66
8.2.130.0050.00326.16
8.2.120.0000.00821.11
8.2.110.0060.00322.14
8.2.100.0080.00417.59
8.2.90.0060.00317.78
8.2.80.0000.00817.97
8.2.70.0080.00317.37
8.2.60.0000.00817.91
8.2.50.0080.00018.07
8.2.40.0000.00718.04
8.2.30.0050.00317.99
8.2.20.0000.00717.79
8.2.10.0030.00517.80
8.2.00.0000.00717.91
8.1.300.0080.00819.66
8.1.290.0090.00030.84
8.1.280.0100.00725.92
8.1.270.0030.00524.66
8.1.260.0110.01126.35
8.1.250.0070.00028.09
8.1.240.0140.00722.01
8.1.230.0040.00720.97
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0090.00017.00
8.1.180.0040.00418.10
8.1.170.0050.00318.65
8.1.160.0000.00718.76
8.1.150.0000.00719.96
8.1.140.0000.00717.22
8.1.130.0030.00318.81
8.1.120.0040.00417.16
8.1.110.0040.00417.36
8.1.100.0040.00417.25
8.1.90.0040.00417.33
8.1.80.0000.00717.38
8.1.70.0000.00717.21
8.1.60.0040.00417.45
8.1.50.0090.00017.38
8.1.40.0050.00217.27
8.1.30.0030.00617.38
8.1.20.0040.00417.49
8.1.10.0030.00617.33
8.1.00.0030.00517.33
8.0.300.0030.00319.96
8.0.290.0060.00316.63
8.0.280.0000.00718.27
8.0.270.0030.00317.12
8.0.260.0000.00718.23
8.0.250.0030.00316.85
8.0.240.0000.00716.77
8.0.230.0000.00716.71
8.0.220.0030.00316.73
8.0.210.0040.00416.65
8.0.200.0030.00316.70
8.0.190.0000.00816.75
8.0.180.0050.00316.78
8.0.170.0070.00016.81
8.0.160.0000.00716.64
8.0.150.0080.00016.65
8.0.140.0040.00416.75
8.0.130.0030.00313.16
8.0.120.0000.00716.77
8.0.110.0070.00016.86
8.0.100.0000.00816.79
8.0.90.0000.00716.73
8.0.80.0080.00816.72
8.0.70.0040.00416.66
8.0.60.0040.00416.70
8.0.50.0000.00716.67
8.0.30.0100.00616.89
8.0.20.0090.01017.40
8.0.10.0040.00416.70
8.0.00.0110.00516.52
7.4.330.0020.00215.55
7.4.320.0000.00616.37
7.4.300.0000.00616.45
7.4.290.0030.00316.37
7.4.280.0040.00416.35
7.4.270.0000.00716.33
7.4.260.0000.00816.44
7.4.250.0070.00016.34
7.4.240.0030.00316.46
7.4.230.0030.00316.57
7.4.220.0060.01316.37
7.4.210.0070.00716.38
7.4.200.0070.00016.45
7.4.160.0070.01116.25
7.4.150.0060.01217.40
7.4.140.0090.01017.86
7.4.130.0080.01116.30
7.4.120.0090.00916.38
7.4.110.0060.01216.35
7.4.100.0160.00616.22
7.4.90.0030.01216.39
7.4.80.0080.01119.39
7.4.70.0070.01016.14
7.4.60.0110.00716.19
7.4.50.0140.00316.04
7.4.40.0080.00816.23
7.4.30.0080.01015.95
7.4.20.0090.00916.01
7.4.10.0050.01015.58
7.4.00.0090.00815.04
7.3.330.0020.00213.24
7.3.320.0030.00313.03
7.3.310.0030.00316.15
7.3.300.0040.00416.13
7.3.290.0070.00716.16
7.3.280.0100.00816.14
7.3.270.0070.01017.40
7.3.260.0120.00816.22
7.3.250.0110.00616.09
7.3.240.0120.00716.27
7.3.230.0060.01016.08
7.3.210.0090.00916.25
7.3.200.0080.01116.48
7.3.190.0190.00316.41
7.3.180.0100.00616.47
7.3.170.0080.00816.01
7.3.160.0060.01115.90
7.3.150.0100.00715.90
7.3.140.0070.00716.09
7.3.130.0100.00615.37
7.3.120.0080.01014.96
7.3.110.0060.01114.91
7.3.100.0100.00615.08
7.3.90.0060.01014.98
7.3.80.0090.00715.00
7.3.70.0110.00515.00
7.3.60.0070.00714.97
7.3.50.0060.00914.84
7.3.40.0090.00614.74
7.3.30.0040.01014.89
7.3.20.0120.00515.69
7.3.10.0070.00715.49
7.3.00.0080.00715.62
7.2.330.0080.00816.59
7.2.320.0060.01016.62
7.2.310.0030.01316.14
7.2.300.0110.00516.19
7.2.290.0060.00916.32
7.2.280.0180.00616.20
7.2.270.0040.01216.09
7.2.260.0050.01315.49
7.2.250.0100.00715.10
7.2.240.0120.00615.08
7.2.230.0040.01115.04
7.2.220.0090.00515.13
7.2.210.0070.00715.13
7.2.200.0040.01215.21
7.2.190.0070.00915.04
7.2.180.0080.01014.92
7.2.170.0090.00715.10
7.2.160.0080.00815.11
7.2.150.0090.00815.53
7.2.140.0180.00415.64
7.2.130.0100.00715.52
7.2.120.0070.00815.67
7.2.110.0080.00815.55
7.2.100.0090.00715.66
7.2.90.0060.01015.63
7.2.80.0130.00515.63
7.2.70.0100.00915.57
7.2.60.0050.01115.73
7.2.50.0150.00815.63
7.2.40.0080.00815.72
7.2.30.0120.00915.69
7.2.20.0080.00715.55
7.2.10.0100.01215.64
7.2.00.0090.01016.48
7.1.330.0170.00714.84
7.1.320.0130.00714.80
7.1.310.0110.00714.89
7.1.300.0290.00514.50
7.1.290.0090.00614.52
7.1.280.0110.00614.50
7.1.270.0100.01414.64
7.1.260.0100.00614.53
7.1.250.0130.00814.17
7.1.240.0120.00814.20
7.1.230.0150.00814.16
7.1.220.0120.01014.24
7.1.210.0120.01114.19
7.1.200.0180.00614.16
7.1.190.0150.00714.15
7.1.180.0120.01114.20
7.1.170.0100.01014.28
7.1.160.0150.01114.20
7.1.150.0160.00514.07
7.1.140.0140.00914.23
7.1.130.0070.00914.15
7.1.120.0100.01015.53
7.1.110.0130.00815.31
7.1.100.0130.00715.40
7.1.90.0180.00915.36
7.1.80.0110.01115.39
7.1.70.0130.01014.87
7.1.60.0230.01024.08
7.1.50.0160.01123.79
7.1.40.0220.00923.61
7.1.30.0370.00723.66
7.1.20.0320.00823.69
7.1.10.0120.01014.57
7.1.00.0190.00814.70
7.0.330.0130.00713.92
7.0.320.0150.01013.94
7.0.310.0190.01014.03
7.0.300.0290.00813.92
7.0.290.0140.00713.93
7.0.280.0120.00713.99
7.0.270.0180.00413.72
7.0.260.0110.01115.18
7.0.250.0150.01015.06
7.0.240.0110.01415.08
7.0.230.0140.01115.07
7.0.220.0140.00814.97
7.0.210.0120.01214.49
7.0.200.0130.01014.55
7.0.190.0130.00814.51
7.0.180.0130.00914.32
7.0.170.0110.01114.36
7.0.160.0120.00814.34
7.0.150.0120.01014.39
7.0.140.0150.00814.46
7.0.130.0160.01014.47
7.0.120.0130.01014.55
7.0.110.0150.01014.68
7.0.100.0140.00814.65
7.0.90.0210.00814.33
7.0.80.0140.00914.37
7.0.70.0120.01114.15
7.0.60.0200.00713.96
7.0.50.0140.01214.19
7.0.40.0120.00814.25
7.0.30.0160.01114.12
7.0.20.0120.01214.25
7.0.10.0160.00614.24
7.0.00.0110.01114.09
5.6.400.0110.01114.70
5.6.390.0110.00814.52
5.6.380.0130.01114.68
5.6.370.0210.00715.95
5.6.360.0110.00715.91
5.6.350.0080.01215.88
5.6.340.0080.01215.74
5.6.330.0160.00415.80
5.6.320.0160.00816.00
5.6.310.0120.00815.77
5.6.300.0110.01115.64
5.6.290.0130.00915.61
5.6.280.0160.00815.63
5.6.270.0200.00815.69
5.6.260.0180.00615.70
5.6.250.0180.00915.43
5.6.240.0220.01015.55
5.6.230.0090.01215.62
5.6.220.0170.01315.57
5.6.210.0110.01815.77
5.6.200.0070.02015.55
5.6.190.0160.01115.43
5.6.180.0110.01115.57
5.6.170.0090.01315.50
5.6.160.0100.01415.33
5.6.150.0090.01215.35
5.6.140.0180.00715.57
5.6.130.0150.01215.36
5.6.120.0160.01115.59
5.6.110.0080.01415.55
5.6.100.0100.01115.73
5.6.90.0140.00715.86
5.6.80.0080.01115.43
5.6.70.0100.01015.64
5.6.60.0130.00915.71
5.6.50.0110.00815.57
5.6.40.0100.01015.13
5.6.30.0060.01415.10
5.6.20.0100.01015.59
5.6.10.0120.00515.29
5.6.00.0000.02115.37

preferences:
35.85 ms | 403 KiB | 5 Q