3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} $foo = new Foo; echo $foo::class; echo $foo::name;

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.0040.01116.63
8.3.50.0180.00522.11
8.3.40.0030.01218.89
8.3.30.0150.00019.12
8.3.20.0080.00020.16
8.3.10.0030.00621.72
8.3.00.0050.00318.04
8.2.180.0060.01016.50
8.2.170.0130.00322.96
8.2.160.0110.00420.49
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00421.00
8.2.110.0060.00322.07
8.2.100.0060.00318.70
8.1.280.0080.00825.92
8.1.270.0040.00423.84
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0070.00318.34
8.1.230.0030.00618.46
5.4.310.0030.04112.52
5.4.300.0030.04012.52
5.4.290.0110.03312.51
5.4.280.0070.04212.40
5.4.270.0060.03912.40
5.4.260.0080.03512.40
5.4.250.0030.04412.41
5.4.240.0060.03612.41
5.4.230.0090.04212.40
5.4.220.0060.03712.39
5.4.210.0060.03612.40
5.4.200.0100.03412.40
5.4.190.0070.03512.39
5.4.180.0050.03712.39
5.4.170.0030.03812.40
5.4.160.0050.03612.40
5.4.150.0070.03612.39
5.4.140.0080.03912.09
5.4.130.0050.03712.06
5.4.120.0050.03712.03
5.4.110.0070.04212.03
5.4.100.0060.03612.02
5.4.90.0090.03412.03
5.4.80.0080.03512.03
5.4.70.0070.03612.03
5.4.60.0060.03512.02
5.4.50.0060.04112.02
5.4.40.0080.04912.01
5.4.30.0080.03512.01
5.4.20.0080.03912.00
5.4.10.0100.03612.00
5.4.00.0070.04911.50
5.3.280.0080.04812.71
5.3.270.0070.04812.72
5.3.260.0040.04112.72
5.3.250.0080.03712.72
5.3.240.0090.03812.72
5.3.230.0070.04912.71
5.3.220.0100.04812.68
5.3.210.0080.04912.68
5.3.200.0100.04212.68
5.3.190.0050.04012.68
5.3.180.0040.04012.67
5.3.170.0070.03912.67
5.3.160.0080.03812.67
5.3.150.0110.03812.68
5.3.140.0080.03712.66
5.3.130.0100.04612.66
5.3.120.0110.03712.65
5.3.110.0080.03712.66
5.3.100.0060.03712.11
5.3.90.0090.04312.10
5.3.80.0030.03912.09
5.3.70.0070.03812.09
5.3.60.0120.03712.07
5.3.50.0080.03412.02
5.3.40.0050.04312.02
5.3.30.0070.03411.98
5.3.20.0100.03111.76
5.3.10.0060.03511.73
5.3.00.0070.03511.71
5.2.170.0050.0319.21
5.2.160.0070.0339.21
5.2.150.0050.0309.22
5.2.140.0060.0299.21
5.2.130.0030.0319.18
5.2.120.0050.0289.17
5.2.110.0030.0339.18
5.2.100.0060.0279.17
5.2.90.0050.0319.17
5.2.80.0080.0299.17
5.2.70.0070.0289.17
5.2.60.0030.0379.13
5.2.50.0060.0309.10
5.2.40.0020.0349.07
5.2.30.0060.0379.05
5.2.20.0040.0359.04
5.2.10.0040.0348.95
5.2.00.0040.0298.80
5.1.60.0060.0238.09
5.1.50.0080.0338.09
5.1.40.0040.0378.06
5.1.30.0060.0288.42
5.1.20.0080.0278.43
5.1.10.0050.0268.16
5.1.00.0080.0258.16
5.0.50.0040.0226.63
5.0.40.0050.0216.50
5.0.30.0010.0366.30
5.0.20.0020.0226.28
5.0.10.0030.0266.26
5.0.00.0070.0326.25
4.4.90.0020.0174.78
4.4.80.0020.0164.75
4.4.70.0040.0174.75
4.4.60.0010.0164.75
4.4.50.0010.0174.77
4.4.40.0040.0244.71
4.4.30.0030.0154.76
4.4.20.0040.0154.84
4.4.10.0020.0174.85
4.4.00.0020.0334.75
4.3.110.0060.0194.67
4.3.100.0050.0154.66
4.3.90.0050.0214.64
4.3.80.0020.0304.58
4.3.70.0050.0154.63
4.3.60.0040.0144.63
4.3.50.0010.0184.63
4.3.40.0020.0254.54
4.3.30.0010.0173.30
4.3.20.0030.0163.28
4.3.10.0020.0163.23
4.3.00.0030.01715.27

preferences:
37.07 ms | 400 KiB | 5 Q