3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static function bar() {} static function run(){return 'Foo';} } Foo::run::bar();

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.0100.00318.68
8.3.50.0070.01422.05
8.3.40.0060.00918.82
8.3.30.0110.00318.92
8.3.20.0040.00420.04
8.3.10.0000.00723.29
8.3.00.0030.00519.38
8.2.180.0140.00316.50
8.2.170.0060.00918.83
8.2.160.0130.00322.96
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0070.00022.29
8.2.110.0000.00922.27
8.2.100.0090.00018.60
8.1.280.0190.00325.92
8.1.270.0030.00622.04
8.1.260.0140.00026.35
8.1.250.0110.00428.09
8.1.240.0030.00618.45
8.1.230.0060.00318.41
5.4.340.0050.03412.03
5.4.320.0060.03612.51
5.4.310.0050.03712.51
5.4.300.0050.03612.52
5.4.290.0080.03512.52
5.4.280.0050.03512.41
5.4.270.0080.03712.41
5.4.260.0110.03612.41
5.4.250.0050.03712.41
5.4.240.0070.03512.41
5.4.230.0050.03712.40
5.4.220.0030.03912.40
5.4.210.0030.03712.40
5.4.200.0070.04312.40
5.4.190.0080.04112.39
5.4.180.0090.03712.40
5.4.170.0090.04412.40
5.4.160.0070.04012.40
5.4.150.0100.03212.40
5.4.140.0050.03812.09
5.4.130.0080.03512.07
5.4.120.0080.03812.03
5.4.110.0080.03712.03
5.4.100.0060.03512.03
5.4.90.0100.03812.03
5.4.80.0070.03612.03
5.4.70.0070.03312.03
5.4.60.0040.03612.03
5.4.50.0050.04112.03
5.4.40.0060.03612.02
5.4.30.0080.04012.01
5.4.20.0080.04812.01
5.4.10.0070.03512.01
5.4.00.0080.03811.50
5.3.290.0060.04012.80
5.3.280.0030.04012.71
5.3.270.0040.04112.73
5.3.260.0050.04012.71
5.3.250.0090.03512.72
5.3.240.0060.03812.72
5.3.230.0060.03712.71
5.3.220.0080.03612.68
5.3.210.0070.03912.68
5.3.200.0060.03612.68
5.3.190.0050.04612.68
5.3.180.0100.03112.68
5.3.170.0050.03712.67
5.3.160.0100.03212.67
5.3.150.0050.03812.67
5.3.140.0080.03912.66
5.3.130.0050.04412.66
5.3.120.0070.03912.66
5.3.110.0080.04312.65
5.3.100.0090.03812.13
5.3.90.0050.03812.11
5.3.80.0100.03512.09
5.3.70.0060.03512.09
5.3.60.0050.03512.08
5.3.50.0060.03512.03
5.3.40.0060.03512.03
5.3.30.0050.03411.99
5.3.20.0040.03711.76
5.3.10.0060.03311.73
5.3.00.0040.03611.72
5.2.170.0050.0299.23
5.2.160.0020.0319.23
5.2.150.0060.0349.23
5.2.140.0030.0319.22
5.2.130.0040.0389.18
5.2.120.0060.0309.18
5.2.110.0030.0319.18
5.2.100.0060.0289.18
5.2.90.0060.0289.18
5.2.80.0020.0349.18
5.2.70.0060.0289.18
5.2.60.0060.0359.14
5.2.50.0030.0369.11
5.2.40.0080.0259.07
5.2.30.0050.0349.05
5.2.20.0040.0309.04
5.2.10.0010.0328.95
5.2.00.0030.0308.81
5.1.60.0030.0248.10
5.1.50.0060.0258.09
5.1.40.0060.0258.07
5.1.30.0030.0268.42
5.1.20.0030.0278.44
5.1.10.0060.0228.17
5.1.00.0030.0268.17
5.0.50.0040.0196.65
5.0.40.0040.0186.51
5.0.30.0030.0306.31
5.0.20.0030.0196.29
5.0.10.0020.0206.26
5.0.00.0070.0276.26
4.4.90.0050.0134.78
4.4.80.0020.0164.76
4.4.70.0020.0174.75
4.4.60.0040.0144.76
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0020.0164.75
4.4.20.0050.0144.85
4.4.10.0030.0184.85
4.4.00.0050.0294.76
4.3.110.0020.0234.67
4.3.100.0040.0204.67
4.3.90.0040.0204.63
4.3.80.0030.0274.58
4.3.70.0020.0144.63
4.3.60.0040.0184.62
4.3.50.0030.0154.63
4.3.40.0020.0244.54
4.3.30.0040.0143.30
4.3.20.0030.0153.28
4.3.10.0020.0163.23
4.3.00.0300.0237.26

preferences:
37.04 ms | 401 KiB | 5 Q