3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Foo { private function doFoo() { echo __METHOD__; } } class Bar extends Foo { public static function doBar() { $bar = new Bar(); $bar->doFoo(); } } Bar::doBar();

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.62
8.3.50.0160.00721.25
8.3.40.0140.00418.64
8.3.30.0090.00618.85
8.3.20.0040.00420.16
8.3.10.0040.00423.54
8.3.00.0050.00221.60
8.2.180.0150.00318.66
8.2.170.0110.00422.96
8.2.160.0090.00620.34
8.2.150.0050.00224.18
8.2.140.0050.00324.66
8.2.130.0060.00320.78
8.2.120.0050.00226.35
8.2.110.0000.01021.00
8.2.100.0120.00017.93
8.2.90.0000.00819.13
8.2.80.0000.00917.97
8.2.70.0000.00817.63
8.2.60.0000.00717.80
8.2.50.0080.00018.07
8.2.40.0090.00020.64
8.2.30.0070.00019.36
8.2.20.0040.00417.74
8.2.10.0040.00417.86
8.2.00.0070.00018.04
8.1.280.0110.01125.92
8.1.270.0030.01622.14
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.38
8.1.230.0040.00719.15
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0060.00417.00
8.1.190.0060.00317.23
8.1.180.0000.00718.10
8.1.170.0060.00318.39
8.1.160.0000.00820.70
8.1.150.0040.00420.56
8.1.140.0080.00019.49
8.1.130.0030.00517.63
8.1.120.0030.00517.39
8.1.110.0040.00417.28
8.1.100.0070.00017.43
8.1.90.0040.00417.29
8.1.80.0070.00017.39
8.1.70.0020.00517.39
8.1.60.0040.00417.46
8.1.50.0040.00417.49
8.1.40.0040.00417.47
8.1.30.0000.00817.66
8.1.20.0040.00417.48
8.1.10.0000.00817.57
8.1.00.0070.00017.38
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00818.36
8.0.270.0030.00317.20
8.0.260.0060.00017.14
8.0.250.0070.00016.93
8.0.240.0040.00717.03
8.0.230.0050.00316.86
8.0.220.0000.00716.85
8.0.210.0070.00016.88
8.0.200.0000.00616.87
8.0.190.0040.00416.91
8.0.180.0040.00416.88
8.0.170.0070.00016.93
8.0.160.0070.00016.95
8.0.150.0040.00416.83
8.0.140.0000.00916.73
8.0.130.0030.00313.35
8.0.120.0000.00916.74
8.0.110.0000.00716.87
8.0.100.0000.00716.96
8.0.90.0070.00016.87
8.0.80.0090.00616.82
8.0.70.0080.00016.64
8.0.60.0000.00816.66
8.0.50.0000.00716.94
8.0.30.0100.00816.98
8.0.20.0090.01117.40
8.0.10.0040.00417.00
8.0.00.0080.00916.57
7.4.330.0020.00216.89
7.4.320.0030.00316.40
7.4.300.0040.00416.56
7.4.290.0050.00316.48
7.4.280.0040.00416.62
7.4.270.0030.00316.64
7.4.260.0000.00816.53
7.4.250.0060.00316.57
7.4.240.0040.00416.63
7.4.230.0070.00016.60
7.4.220.0090.00916.49
7.4.210.0130.00716.55
7.4.200.0030.00316.70
7.4.160.0060.00916.60
7.4.150.0080.01117.40
7.4.140.0110.01117.86
7.4.130.0160.00916.71
7.4.120.0040.01316.55
7.4.110.0150.00316.60
7.4.100.0100.01416.70
7.4.90.0090.00916.57
7.4.80.0120.00619.39
7.4.70.0060.00916.57
7.4.60.0040.01416.46
7.4.50.0070.01016.48
7.4.40.0180.00016.74
7.4.30.0060.01216.48
7.4.00.0030.01015.19
7.3.330.0000.00513.12
7.3.320.0030.00313.32
7.3.310.0070.00016.38
7.3.300.0000.00716.22
7.3.290.0040.01216.33
7.3.280.0100.00716.34
7.3.270.0000.01717.40
7.3.260.0070.01016.58
7.3.240.0070.01016.46
7.3.230.0150.00316.46
7.3.210.0140.00316.30
7.3.200.0030.01319.39
7.3.190.0090.01216.24
7.3.180.0060.01216.28
7.3.170.0110.00616.35
7.3.160.0140.00316.44
7.2.330.0120.00416.65
7.2.320.0090.00916.55
7.2.310.0120.00316.28
7.2.300.0090.00616.66
7.2.290.0080.00816.71
7.2.80.0070.00416.75
7.2.60.0070.00616.70
7.2.00.0070.00719.11
7.1.200.0110.00315.57
7.1.100.0030.00917.67
7.1.70.0000.01016.85
7.1.60.0100.01619.40
7.1.50.0220.01634.42
7.1.00.0000.08022.45
7.0.200.0360.00414.53
7.0.60.0070.04321.75
7.0.50.0070.07017.94
7.0.40.0170.06720.11
7.0.30.0470.05320.34
7.0.20.0170.04720.20
7.0.10.0070.07320.26
7.0.00.0070.08320.16
5.6.280.0030.04321.07
5.6.210.0030.07720.71
5.6.200.0070.08018.22
5.6.190.0130.08020.64
5.6.180.0270.07720.50
5.6.170.0230.05020.51
5.6.160.0030.08320.55
5.6.150.0030.04018.25
5.6.140.0070.06318.28
5.6.130.0000.08718.25
5.6.120.0030.04020.95
5.6.110.0100.05720.98
5.6.100.0100.08321.04
5.6.90.0000.04720.95
5.6.80.0070.06720.38
5.5.350.0130.03720.46
5.5.340.0130.07318.02
5.5.330.0070.03720.57
5.5.320.0230.08020.27
5.5.310.0270.03020.37
5.5.300.0100.08017.97
5.5.290.0130.07317.99
5.5.280.0100.06720.88
5.5.270.0100.06720.89
5.5.260.0030.06720.97
5.5.250.0070.06020.71
5.5.240.0330.06320.19

preferences:
47.14 ms | 401 KiB | 5 Q