3v4l.org

run code in 300+ PHP versions simultaneously
<?php class super { public function a() { self::b(); } private function b() { print "super\n"; } } class sub extends super { private function b() { print "sub\n"; } } $obj = new sub(); $obj->a();

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.40.0040.01118.67
8.3.30.0120.00918.78
8.3.20.0150.00320.09
8.3.10.0100.00721.84
8.3.00.0070.00322.51
8.2.170.0070.01422.96
8.2.160.0070.00720.81
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.01326.16
8.2.120.0080.00017.50
8.2.110.0060.00322.20
8.2.100.0040.00817.78
8.2.90.0070.00019.17
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0050.00318.16
8.2.30.0000.00717.95
8.2.20.0050.00317.57
8.2.10.0040.00417.67
8.2.00.0000.00817.61
8.1.270.0110.00423.73
8.1.260.0110.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00623.79
8.1.230.0070.00319.14
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0090.00017.11
8.1.190.0060.00317.22
8.1.180.0060.00318.10
8.1.170.0060.00318.45
8.1.160.0030.00521.86
8.1.150.0000.00718.48
8.1.140.0060.00317.49
8.1.130.0030.00317.75
8.1.120.0040.00417.31
8.1.110.0080.00017.41
8.1.100.0000.00717.28
8.1.90.0030.00317.45
8.1.80.0030.00517.29
8.1.70.0030.00317.36
8.1.60.0040.00417.47
8.1.50.0030.00617.48
8.1.40.0000.00817.43
8.1.30.0040.00417.70
8.1.20.0030.00617.55
8.1.10.0040.00417.59
8.1.00.0000.00817.41
8.0.300.0000.00720.52
8.0.290.0070.00017.04
8.0.280.0050.00218.44
8.0.270.0070.00017.18
8.0.260.0030.00316.77
8.0.250.0000.00716.89
8.0.240.0070.00016.88
8.0.230.0070.00016.93
8.0.220.0030.00316.73
8.0.210.0070.00016.83
8.0.200.0000.00716.87
8.0.190.0000.00816.79
8.0.180.0060.00316.75
8.0.170.0050.00316.84
8.0.160.0000.00816.77
8.0.150.0000.00716.66
8.0.140.0040.00416.68
8.0.130.0000.00713.29
8.0.120.0040.00416.82
8.0.110.0040.00416.75
8.0.100.0080.00016.70
8.0.90.0050.00316.64
8.0.80.0110.00316.84
8.0.70.0000.00716.64
8.0.60.0000.00816.70
8.0.50.0000.00716.75
8.0.30.0140.00717.13
8.0.20.0100.01217.40
8.0.10.0040.00416.94
8.0.00.0130.00716.84
7.4.330.0000.00615.07
7.4.320.0000.00716.48
7.4.300.0000.00916.39
7.4.290.0070.00016.40
7.4.280.0000.00716.48
7.4.270.0040.00416.52
7.4.260.0030.00416.39
7.4.250.0030.00316.48
7.4.240.0040.00316.41
7.4.230.0000.00716.34
7.4.220.0160.01016.70
7.4.210.0080.01016.50
7.4.200.0000.00716.47
7.4.190.0050.00216.64
7.4.160.0110.00416.44
7.4.150.0120.00617.40
7.4.140.0090.00817.86
7.4.130.0100.00716.41
7.4.120.0080.00916.39
7.4.110.0140.00316.51
7.4.100.0170.00016.48
7.4.90.0110.00616.46
7.4.80.0130.00316.42
7.4.70.0080.01116.49
7.4.60.0160.00916.41
7.4.50.0000.00916.38
7.4.40.0030.01322.77
7.4.30.0130.00316.71
7.4.00.0110.00615.03
7.3.330.0000.00513.07
7.3.320.0020.00213.10
7.3.310.0040.00416.27
7.3.300.0080.00016.28
7.3.290.0110.00416.14
7.3.280.0140.00616.26
7.3.270.0150.00317.40
7.3.260.0100.00916.52
7.3.250.0110.01316.42
7.3.240.0130.00816.24
7.3.230.0060.01316.39
7.3.210.0150.00316.36
7.3.200.0140.00319.39
7.3.190.0080.00816.41
7.3.180.0100.00616.58
7.3.170.0090.00616.55
7.3.160.0090.01516.25
7.3.120.0070.00914.56
7.3.110.0040.01514.80
7.3.100.0030.00614.59
7.3.90.0040.00414.72
7.3.80.0060.01014.87
7.3.70.0000.00814.89
7.3.60.0080.00814.57
7.3.50.0030.01014.90
7.3.40.0040.00814.55
7.3.30.0060.01014.70
7.3.20.0090.00616.33
7.3.10.0070.01016.64
7.3.00.0040.01116.41
7.2.330.0090.00916.50
7.2.320.0030.01416.63
7.2.310.0130.01016.53
7.2.300.0150.00916.57
7.2.290.0030.01216.75
7.2.250.0100.00714.56
7.2.240.0090.00614.65
7.2.230.0120.00414.96
7.2.220.0100.00715.16
7.2.210.0060.00315.02
7.2.200.0120.00015.01
7.2.190.0040.00814.75
7.2.180.0040.01114.96
7.2.170.0030.00915.07
7.2.00.0060.00619.27
7.1.330.0030.01315.79
7.1.320.0110.00415.70
7.1.310.0070.00715.69
7.1.300.0070.00615.55
7.1.290.0120.00015.67
7.1.280.0070.00715.65
7.1.270.0030.01215.48
7.1.260.0050.00815.73
7.1.100.0070.00717.76
7.1.70.0000.00916.91
7.1.60.0030.01719.82
7.1.50.0100.01016.48
7.1.00.0030.07722.44
7.0.200.0090.00916.77
7.0.140.0000.07722.04
7.0.100.0130.06019.95
7.0.90.0030.04719.88
7.0.80.0030.08019.98
7.0.70.0130.04719.89
7.0.60.0100.07319.91
7.0.50.0000.05720.35
7.0.40.0130.07720.10
7.0.30.0100.04720.04
7.0.20.0100.07720.13
7.0.10.0000.05320.14
7.0.00.0100.07320.18
5.6.250.0230.03320.61
5.6.240.0130.07020.55
5.6.230.0030.06020.63
5.6.220.0070.04720.62
5.6.210.0100.03320.63
5.6.200.0070.06021.10
5.6.190.0030.09020.96
5.6.180.0070.06720.94
5.6.170.0170.06021.14
5.6.160.0130.07721.09
5.6.150.0070.04721.09
5.6.140.0030.07021.07
5.6.130.0100.05021.02
5.6.120.0070.09320.96
5.6.110.0070.05321.05
5.6.100.0170.06321.16
5.6.90.0070.08321.03
5.6.80.0070.07020.32
5.6.70.0130.07720.43
5.6.60.0070.07020.46
5.6.50.0000.07320.45
5.6.40.0070.05720.39
5.6.30.0030.04720.30
5.6.20.0100.06320.40
5.6.10.0070.04720.32
5.6.00.0000.07720.40
5.5.380.0100.05020.57
5.5.370.0070.04020.43
5.5.360.0100.08020.36
5.5.350.0070.08720.48
5.5.340.0130.08020.82
5.5.330.0130.05720.81
5.5.320.0070.08320.89
5.5.310.0030.09020.89
5.5.300.0170.07020.88
5.5.290.0130.03720.80
5.5.280.0100.07020.80
5.5.270.0100.07320.76
5.5.260.0100.07020.92
5.5.250.0030.08720.55
5.5.240.0130.07020.31
5.5.230.0170.05720.21
5.5.220.0100.04720.14
5.5.210.0070.04020.28
5.5.200.0170.06720.15
5.5.190.0000.08320.23
5.5.180.0030.06720.12
5.5.160.0070.05020.22
5.5.150.0000.04320.09
5.5.140.0000.04020.23
5.5.130.0070.04020.24
5.5.120.0070.03720.27
5.5.110.0000.04020.17
5.5.100.0030.04020.08
5.5.90.0000.06720.16
5.5.80.0070.03320.07
5.5.70.0100.03320.06
5.5.60.0070.07020.07
5.5.50.0000.04719.94
5.5.40.0000.04719.94
5.5.30.0070.06720.05
5.5.20.0070.07720.07
5.5.10.0100.06320.11
5.5.00.0070.04019.96
5.4.450.0030.08719.21
5.4.440.0070.06319.27
5.4.430.0170.07019.17
5.4.420.0030.04319.23
5.4.410.0130.05319.32
5.4.400.0000.07719.04
5.4.390.0030.06719.12
5.4.380.0130.06718.88
5.4.370.0000.04719.16
5.4.360.0030.07319.13
5.4.350.0000.08318.91
5.4.340.0100.03019.10
5.4.320.0100.04718.88
5.4.310.0100.06019.07
5.4.300.0100.07019.16
5.4.290.0030.05019.03
5.4.280.0000.07319.04
5.4.270.0030.08019.05
5.4.260.0000.06019.04
5.4.250.0070.04719.02
5.4.240.0070.06319.20
5.4.230.0070.05719.18
5.4.220.0070.07319.09
5.4.210.0030.06719.09
5.4.200.0030.03718.84
5.4.190.0000.04019.20
5.4.180.0000.05319.08
5.4.170.0070.04718.86
5.4.160.0070.06718.82
5.4.150.0070.04318.93
5.4.140.0070.06316.48
5.4.130.0030.07016.51
5.4.120.0030.07316.38
5.4.110.0000.04016.48
5.4.100.0070.05316.38
5.4.90.0130.05716.55
5.4.80.0070.04716.36
5.4.70.0070.03316.50
5.4.60.0170.06316.48
5.4.50.0030.05716.36
5.4.40.0070.05316.35
5.4.30.0130.05316.41
5.4.20.0070.03716.32
5.4.10.0100.07016.47
5.4.00.0030.05315.88
5.3.290.0030.05315.73
5.3.280.0000.07715.73
5.3.270.0100.07315.73
5.3.260.0030.07715.73
5.3.250.0070.03315.73
5.3.240.0030.03715.73
5.3.230.0030.07315.73
5.3.220.0070.05315.73
5.3.210.0100.03315.73
5.3.200.0070.03315.73
5.3.190.0030.07015.73
5.3.180.0030.07715.73
5.3.170.0070.05715.73
5.3.160.0100.03315.73
5.3.150.0100.05315.73
5.3.140.0100.03715.73
5.3.130.0000.04015.73
5.3.120.0070.06315.73
5.3.110.0030.03715.73
5.3.100.0030.06315.73
5.3.90.0000.08015.73
5.3.80.0000.03715.73
5.3.70.0000.04315.73
5.3.60.0070.03315.73
5.3.50.0030.03715.73
5.3.40.0070.03715.73
5.3.30.0030.03715.73
5.3.20.0070.03315.73
5.3.10.0100.03015.73
5.3.00.0070.03315.73
5.2.170.0070.02715.73
5.2.160.0000.03715.73
5.2.150.0030.03015.73
5.2.140.0070.02715.73
5.2.130.0030.02715.73
5.2.120.0030.02715.73
5.2.110.0070.02015.73
5.2.100.0030.03315.73
5.2.90.0000.03315.73
5.2.80.0030.02315.73
5.2.70.0030.02315.73
5.2.60.0030.02315.73
5.2.50.0030.03715.73
5.2.40.0030.03015.73
5.2.30.0030.02315.73
5.2.20.0000.03015.73
5.2.10.0000.02315.73
5.2.00.0070.02315.73
5.1.60.0030.02015.73
5.1.50.0030.03315.73
5.1.40.0030.04015.73
5.1.30.0070.05015.73
5.1.20.0000.06015.73
5.1.10.0030.04015.73
5.1.00.0070.02015.73
5.0.50.0000.02315.73
5.0.40.0000.02015.73
5.0.30.0030.02715.73
5.0.20.0070.01015.73
5.0.10.0000.01715.73
5.0.00.0000.03315.73
4.4.90.0070.01015.73
4.4.80.0000.01715.73
4.4.70.0030.01315.73
4.4.60.0000.01315.73
4.4.50.0000.01315.73
4.4.40.0000.02715.73
4.4.30.0030.01315.73
4.4.20.0030.01315.73
4.4.10.0000.02015.73
4.4.00.0000.02015.73
4.3.110.0000.01715.73
4.3.100.0000.01715.73
4.3.90.0000.01315.73
4.3.80.0030.01715.73
4.3.70.0000.01715.73
4.3.60.0000.01315.73
4.3.50.0000.01715.73
4.3.40.0000.02315.73
4.3.30.0070.00715.73
4.3.20.0000.01315.73
4.3.10.0000.01715.73
4.3.00.0030.01015.73

preferences:
41.94 ms | 400 KiB | 5 Q