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); } class C extends B { public function bar(\stdClass $x) { // TODO } }

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.0070.00716.38
8.3.50.0130.00316.49
8.3.40.0070.01118.57
8.3.30.0040.01118.59
8.3.20.0050.00220.34
8.3.10.0060.00321.98
8.3.00.0040.00423.69
8.2.180.0070.00716.38
8.2.170.0060.00918.83
8.2.160.0100.00720.51
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00420.35
8.2.120.0040.00426.16
8.2.110.0030.00722.09
8.2.100.0070.00417.79
8.2.90.0000.00817.97
8.2.80.0050.00517.97
8.2.70.0040.00417.38
8.2.60.0040.00419.53
8.2.50.0040.00418.10
8.2.40.0040.00422.40
8.2.30.0040.00419.16
8.2.20.0050.00317.91
8.2.10.0040.00418.01
8.2.00.0080.00017.95
8.1.280.0040.01225.92
8.1.270.0040.00423.99
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0060.00323.88
8.1.230.0070.00420.95
8.1.220.0000.00817.74
8.1.210.0080.00418.77
8.1.200.0030.00617.00
8.1.190.0030.00617.23
8.1.180.0070.00018.10
8.1.170.0000.00918.49
8.1.160.0040.00418.85
8.1.150.0040.00420.02
8.1.140.0030.00617.32
8.1.130.0030.00318.93
8.1.120.0000.00717.23
8.1.110.0000.00817.22
8.1.100.0030.00317.32
8.1.90.0000.00817.19
8.1.80.0000.00717.34
8.1.70.0000.00717.23
8.1.60.0040.00717.37
8.1.50.0040.00717.41
8.1.40.0000.00717.28
8.1.30.0040.00717.47
8.1.20.0090.00017.49
8.1.10.0040.00417.27
8.1.00.0030.00517.29
8.0.300.0000.00720.04
8.0.290.0040.00416.63
8.0.280.0000.00718.32
8.0.270.0040.00417.12
8.0.260.0040.00418.18
8.0.250.0060.00016.77
8.0.240.0030.00316.73
8.0.230.0030.00316.80
8.0.220.0000.00716.79
8.0.210.0000.00716.76
8.0.200.0040.00416.85
8.0.190.0040.00416.84
8.0.180.0080.00016.70
8.0.170.0000.00716.84
8.0.160.0030.00516.73
8.0.150.0000.00716.78
8.0.140.0040.00416.71
8.0.130.0000.00513.09
8.0.120.0040.00416.65
8.0.110.0040.00416.78
8.0.100.0040.00416.66
8.0.90.0000.00716.64
8.0.80.0070.00716.72
8.0.70.0000.00716.62
8.0.60.0000.00816.82
8.0.50.0040.00416.87
8.0.30.0080.00816.99
8.0.20.0080.01317.40
8.0.10.0000.00716.70
8.0.00.0090.01216.40
7.4.330.0000.00515.55
7.4.320.0000.00616.47
7.4.300.0030.00316.36
7.4.290.0000.00716.46
7.4.280.0000.00716.35
7.4.270.0000.00716.38
7.4.260.0030.00316.25
7.4.250.0000.00716.35
7.4.240.0040.00416.38
7.4.230.0070.00016.56
7.4.220.0140.01116.42
7.4.210.0070.00716.33
7.4.200.0000.00716.50
7.4.160.0090.00616.44
7.4.150.0150.00317.40
7.4.140.0110.00817.86
7.4.130.0080.01116.46
7.4.120.0100.00716.29
7.4.110.0100.01316.32
7.4.100.0140.00416.32
7.4.90.0160.00316.40
7.4.80.0160.00319.39
7.4.70.0090.00916.43
7.4.60.0090.00616.35
7.4.50.0060.00616.16
7.4.40.0140.00316.47
7.4.30.0090.01216.32
7.4.00.0060.01314.72
7.3.330.0000.00513.17
7.3.320.0000.00513.15
7.3.310.0030.00315.99
7.3.300.0000.00616.17
7.3.290.0090.00616.15
7.3.280.0080.00816.13
7.3.270.0060.01217.40
7.3.260.0090.01016.29
7.3.250.0090.01016.16
7.3.240.0080.00816.19
7.3.230.0080.00816.37
7.3.210.0090.00616.16
7.3.200.0140.00316.26
7.3.190.0190.00316.36
7.3.180.0070.01116.36
7.3.170.0120.00316.29
7.3.160.0090.01216.55
7.3.120.0070.01114.75
7.3.110.0110.00714.91
7.3.100.0000.01614.71
7.3.90.0070.00314.79
7.3.80.0030.00714.79
7.3.70.0100.00714.71
7.3.60.0030.00614.77
7.3.50.0070.00714.53
7.3.40.0040.00514.71
7.3.30.0060.00314.59
7.3.20.0100.00716.41
7.3.10.0030.01216.30
7.3.00.0100.00316.35
7.2.330.0090.00916.47
7.2.320.0030.02116.52
7.2.310.0090.00916.50
7.2.300.0060.00916.48
7.2.290.0080.01116.56
7.2.250.0100.01014.78
7.2.240.0070.01314.74
7.2.230.0070.01014.58
7.2.220.0060.01014.81
7.2.210.0030.01214.76
7.2.200.0090.00314.88
7.2.190.0120.00314.75
7.2.180.0000.01514.93
7.2.170.0070.00714.48
7.2.160.0000.01014.83
7.2.150.0040.00716.63
7.2.140.0050.00816.74
7.2.130.0060.01016.68
7.2.120.0140.00016.58
7.2.110.0070.01016.58
7.2.100.0030.01316.78
7.2.90.0040.01116.88
7.2.80.0070.01016.88
7.2.70.0070.00316.67
7.2.60.0060.01216.66
7.2.50.0070.01316.78
7.2.40.0000.01016.82
7.2.30.0070.00716.46
7.2.20.0090.00316.59
7.2.10.0080.00416.82
7.2.00.0060.00916.64
7.1.330.0000.01615.61
7.1.320.0030.01015.38
7.1.310.0110.00315.23
7.1.300.0000.00915.66
7.1.290.0030.00915.69
7.1.280.0080.00815.50
7.1.270.0070.01015.39
7.1.260.0000.01415.61
7.1.250.0140.00315.45
7.1.240.0070.01015.65
7.1.230.0060.00615.45
7.1.220.0070.00315.60
7.1.210.0070.00715.64
7.1.200.0080.00615.64
7.1.190.0060.00815.21
7.1.180.0110.00815.59
7.1.170.0030.00915.59
7.1.160.0030.01215.21
7.1.150.0000.00815.56
7.1.140.0030.00715.68
7.1.130.0070.00715.54
7.1.120.0050.00515.29
7.1.110.0040.00415.51
7.1.100.4200.01315.55
7.1.90.5580.00315.68
7.1.80.3430.00515.86
7.1.70.3050.00515.22
7.1.60.3810.01524.32
7.1.50.3980.01024.15
7.1.40.3710.00823.85
7.1.30.4910.00824.05
7.1.20.3500.00724.03
7.1.10.2180.01215.08
7.1.00.3090.00615.11
7.0.330.0040.01115.14
7.0.320.0040.00415.04
7.0.310.0040.00715.20
7.0.300.0000.01415.18
7.0.290.0040.00715.22
7.0.280.0000.01215.28
7.0.270.0060.00615.49
7.0.260.0090.00014.98
7.0.250.0070.00715.35
7.0.240.4370.01215.22
7.0.230.5700.00415.39
7.0.220.3440.01015.04
7.0.210.2730.00814.78
7.0.200.3850.01214.99
7.0.190.5260.01015.13
7.0.180.2620.00814.59
7.0.170.4470.00914.54
7.0.160.3310.01314.74
7.0.150.2240.01514.68
7.0.140.2950.00314.63
7.0.130.1920.01014.88
7.0.120.2980.00314.80
7.0.110.2850.00914.73
7.0.100.2470.01014.66
7.0.90.2230.00914.49
7.0.80.2610.00714.85
7.0.70.2770.01114.74
7.0.60.2450.00514.57
7.0.50.2270.01114.89
7.0.40.2500.00813.91
7.0.30.2340.00513.86
7.0.20.2460.00713.66
7.0.10.2310.01013.97
7.0.00.2170.00813.84
5.6.400.0000.01213.94
5.6.390.0040.00714.10
5.6.380.0060.00614.11
5.6.370.0030.01214.23
5.6.360.0070.00714.09
5.6.350.0130.00314.09
5.6.340.0100.00314.21
5.6.330.0040.00814.28
5.6.320.0060.00613.97
5.6.310.0070.00714.10
5.6.300.0060.00914.14
5.6.290.0130.00013.91
5.6.280.0060.00614.18
5.6.270.0050.00514.18
5.6.260.0070.00714.22
5.6.250.0150.00013.82
5.6.240.0000.00814.19
5.6.230.0000.01214.33
5.6.220.0030.01013.91
5.6.210.0030.00614.32
5.6.200.0060.00914.05
5.6.190.0130.00014.19
5.6.180.0070.00714.11
5.6.170.0030.00713.93
5.6.160.0100.00314.24
5.6.150.0000.01314.35
5.6.140.0130.00014.04
5.6.130.0080.00614.03
5.6.120.0080.00814.21
5.6.110.0100.00314.14
5.6.100.0040.01113.84
5.6.90.0060.00814.13
5.6.80.0070.00313.94
5.6.70.0070.00714.08
5.6.60.0080.00414.19
5.6.50.0090.00014.28
5.6.40.0080.00813.97
5.6.30.0140.00013.96
5.6.20.0100.00714.03
5.6.10.0120.00313.90
5.6.00.0030.01013.99

preferences:
57.88 ms | 400 KiB | 5 Q