3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Test { public function sayHoi1() { return 'hoi'; } } class StaticTest extends Test { public static function sayHoi2() { return 'hoi'; } } $t1 = new StaticTest(); echo $t1->sayHoi1(); echo StaticTest::sayHoi2();

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.0000.01418.55
8.3.50.0110.00821.20
8.3.40.0150.00618.79
8.3.30.0140.00018.71
8.3.20.0040.00420.11
8.3.10.0040.00421.86
8.3.00.0040.00423.62
8.2.180.0210.00016.63
8.2.170.0090.00618.95
8.2.160.0100.00722.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0060.00319.47
8.2.120.0000.00826.35
8.2.110.0080.00022.11
8.2.100.0090.00318.05
8.2.90.0000.00819.05
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0050.00318.04
8.2.50.0040.00418.07
8.2.40.0030.00521.92
8.2.30.0030.00320.60
8.2.20.0040.00417.79
8.2.10.0040.00417.90
8.2.00.0040.00417.92
8.1.280.0040.01125.92
8.1.270.0080.00023.96
8.1.260.0000.00828.09
8.1.250.0000.00828.09
8.1.240.0050.00324.03
8.1.230.0000.01119.06
8.1.220.0000.00817.78
8.1.210.0040.00418.77
8.1.200.0080.00017.10
8.1.190.0000.00817.23
8.1.180.0000.00718.10
8.1.170.0000.00918.58
8.1.160.0000.00720.68
8.1.150.0070.00018.73
8.1.140.0080.00019.51
8.1.130.0030.00317.63
8.1.120.0000.00817.39
8.1.110.0000.00717.32
8.1.100.0050.00317.29
8.1.90.0070.00017.30
8.1.80.0040.00417.42
8.1.70.0070.00017.29
8.1.60.0040.00417.45
8.1.50.0040.00417.40
8.1.40.0000.00817.39
8.1.30.0000.00817.69
8.1.20.0040.00417.61
8.1.10.0080.00017.59
8.1.00.0080.00017.41
8.0.300.0050.00218.77
8.0.290.0040.00416.58
8.0.280.0000.00818.42
8.0.270.0030.00516.75
8.0.260.0050.00317.25
8.0.250.0030.00316.94
8.0.240.0040.00416.97
8.0.230.0030.00316.79
8.0.220.0040.00416.80
8.0.210.0070.00016.79
8.0.200.0000.00616.77
8.0.190.0000.01016.82
8.0.180.0000.00716.77
8.0.170.0050.00516.85
8.0.160.0040.00416.76
8.0.150.0040.00416.65
8.0.140.0060.00316.80
8.0.130.0030.00313.31
8.0.120.0040.00416.81
8.0.110.0070.00016.68
8.0.100.0040.00416.89
8.0.90.0070.00016.71
8.0.80.0090.01416.75
8.0.70.0050.00216.69
8.0.60.0050.00316.86
8.0.50.0040.00416.75
8.0.30.0120.00817.01
8.0.20.0060.01317.40
8.0.10.0040.00416.73
8.0.00.0100.00716.79
7.4.330.0050.00016.76
7.4.320.0030.00316.58
7.4.300.0030.00316.63
7.4.290.0080.00316.61
7.4.280.0030.00716.58
7.4.270.0070.00016.43
7.4.260.0030.00316.51
7.4.250.0000.00716.55
7.4.240.0020.00616.64
7.4.230.0000.00716.64
7.4.220.0100.01616.63
7.4.210.0030.01016.52
7.4.200.0030.00316.47
7.4.160.0120.00316.37
7.4.150.0190.00317.40
7.4.140.0070.01217.86
7.4.130.0130.00516.46
7.4.120.0090.00716.42
7.4.110.0030.01316.54
7.4.100.0060.01616.45
7.4.90.0100.00716.35
7.4.80.0070.01419.39
7.4.70.0060.01216.66
7.4.60.0090.00616.46
7.4.50.0020.00816.51
7.4.40.0060.01016.52
7.4.30.0070.01016.55
7.4.00.0070.00715.17
7.3.330.0060.00013.07
7.3.320.0050.00012.99
7.3.310.0040.00416.26
7.3.300.0030.00316.10
7.3.290.0110.00416.18
7.3.280.0070.01016.23
7.3.270.0080.01517.40
7.3.260.0170.00916.29
7.3.250.0100.00916.45
7.3.240.0120.00516.23
7.3.230.0110.01116.39
7.3.210.0100.00616.18
7.3.200.0110.00519.39
7.3.190.0040.01416.25
7.3.180.0130.00316.37
7.3.170.0150.00616.39
7.3.160.0120.00316.21
7.2.330.0090.00916.66
7.2.320.0150.00916.71
7.2.310.0060.01016.62
7.2.300.0090.00916.67
7.2.290.0090.00916.68
7.2.80.0000.00716.75
7.2.60.0060.00916.85
7.2.00.0070.00719.40
7.1.200.0050.00315.41
7.1.100.0030.00618.07
7.1.70.0030.00617.11
7.1.60.0070.01419.20
7.1.50.0140.01016.62
7.1.00.0030.07322.37
7.0.200.0090.00616.64
7.0.60.0070.08021.75
7.0.50.0070.07717.72
7.0.40.0070.05020.24
7.0.30.0300.06020.28
7.0.20.0330.07320.30
7.0.10.0130.07720.10
7.0.00.0000.07720.23
5.6.280.0030.03320.86
5.6.210.0100.07720.77
5.6.200.0100.07718.16
5.6.190.0170.07720.46
5.6.180.0270.04720.67
5.6.170.0270.08020.47
5.6.160.0070.05320.50
5.6.150.0030.08318.17
5.6.140.0100.07018.18
5.6.130.0100.08018.14
5.6.120.0070.05321.01
5.6.110.0070.08021.00
5.6.100.0030.04321.02
5.6.90.0200.07321.13
5.6.80.0230.06320.29
5.5.350.0130.06720.32
5.5.340.0070.04718.08
5.5.330.0070.05020.27
5.5.320.0600.07020.27
5.5.310.0270.08020.25
5.5.300.0030.08318.08
5.5.290.0070.05017.98
5.5.280.0030.04720.68
5.5.270.0030.04020.73
5.5.260.0130.08020.87
5.5.250.0000.09020.59
5.5.240.0000.04020.29

preferences:
47 ms | 401 KiB | 5 Q