3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ static $name = "foo"; } $foo = new Foo(); 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.40.0110.00318.81
8.3.30.0070.00718.42
8.3.20.0040.00420.04
8.3.10.0080.00021.77
8.3.00.0080.00019.26
8.2.170.0150.00022.96
8.2.160.0030.01020.52
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00420.69
8.2.110.0060.00321.00
8.2.100.0080.00417.91
8.2.90.0000.00819.22
8.2.80.0000.00917.97
8.2.70.0040.00417.50
8.2.60.0080.00017.93
8.2.50.0000.00818.10
8.2.40.0070.00020.30
8.2.30.0040.00419.15
8.2.20.0040.00417.92
8.2.10.0070.00017.97
8.2.00.0030.00318.18
8.1.270.0070.00024.01
8.1.260.0090.00926.35
8.1.250.0050.00228.09
8.1.240.0030.00623.91
8.1.230.0040.00818.98
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0030.00517.22
8.1.180.0040.00418.10
8.1.170.0030.00618.59
8.1.160.0000.00718.80
8.1.150.0040.00419.98
8.1.140.0000.00719.55
8.1.130.0040.00418.91
8.1.120.0000.00717.30
8.1.110.0040.00417.41
8.1.100.0080.00017.37
8.1.90.0000.00817.31
8.1.80.0100.00017.38
8.1.70.0070.00017.34
8.1.60.0030.00617.51
8.1.50.0070.00017.36
8.1.40.0060.00317.44
8.1.30.0040.00417.59
8.1.20.0050.00217.61
8.1.10.0000.00817.45
8.1.00.0050.00217.51
8.0.300.0070.00020.13
8.0.290.0040.00416.63
8.0.280.0030.00318.47
8.0.270.0000.00817.15
8.0.260.0030.00319.00
8.0.250.0000.00616.88
8.0.240.0000.00716.82
8.0.230.0050.00516.83
8.0.220.0030.00316.80
8.0.210.0030.00316.78
8.0.200.0030.00316.93
8.0.190.0040.00416.86
8.0.180.0050.00216.72
8.0.170.0040.00416.75
8.0.160.0040.00416.91
8.0.150.0020.00516.77
8.0.140.0000.00716.78
8.0.130.0060.00013.20
8.0.120.0070.00016.77
8.0.110.0070.00016.61
8.0.100.0080.00016.66
8.0.90.0030.00316.84
8.0.80.0070.01316.79
8.0.70.0070.00016.60
8.0.60.0040.00416.61
8.0.50.0090.00016.70
8.0.30.0080.00816.94
8.0.20.0090.01017.40
8.0.10.0040.00416.96
8.0.00.0130.00916.70
7.4.330.0000.00615.55
7.4.320.0030.00316.45
7.4.300.0030.00316.43
7.4.290.0000.00716.50
7.4.280.0080.00016.42
7.4.270.0000.00716.44
7.4.260.0000.00716.48
7.4.250.0000.00716.32
7.4.240.0000.00816.56
7.4.230.0030.00316.36
7.4.220.0110.00616.55
7.4.210.0110.00616.47
7.4.200.0000.00716.34
7.4.160.0110.00816.50
7.4.150.0150.00317.40
7.4.140.0110.00817.86
7.4.130.0150.01216.37
7.4.120.0110.00816.39
7.4.110.0130.00616.48
7.4.100.0100.00716.59
7.4.90.0090.00816.52
7.4.80.0070.01019.39
7.4.70.0060.01216.41
7.4.60.0100.01016.54
7.4.50.0070.00716.64
7.4.40.0140.00316.34
7.4.30.0100.00616.20
7.4.00.0100.00714.97
7.3.330.0000.00513.05
7.3.320.0050.00013.09
7.3.310.0030.00316.21
7.3.300.0000.00716.26
7.3.290.0060.00816.19
7.3.280.0120.00916.21
7.3.270.0100.00617.40
7.3.260.0110.00616.33
7.3.240.0120.00716.44
7.3.230.0140.00716.14
7.3.210.0130.00316.09
7.3.200.0080.00816.09
7.3.190.0060.01116.42
7.3.180.0070.01316.49
7.3.170.0080.00816.48
7.3.160.0120.00316.52
7.2.330.0090.00916.36
7.2.320.0130.00616.53
7.2.310.0100.01316.54
7.2.300.0110.00716.53
7.2.290.0030.01416.64
7.2.80.0000.00716.52
7.2.60.0090.00316.93
7.1.200.0070.00615.57
7.1.70.0030.00716.94
7.1.60.0030.00816.86
7.1.40.0130.01034.25
7.1.30.0200.01034.17
7.1.20.0170.00734.48
7.1.10.0000.01716.43
7.1.00.0070.00316.50
7.0.200.0070.00316.54
7.0.180.0030.00715.99
7.0.170.0030.00716.06
7.0.160.0030.00716.19
7.0.150.0030.01015.99
7.0.140.0000.01316.09
7.0.130.0000.01316.15
7.0.120.0030.00716.32
7.0.110.0000.01016.12
7.0.100.0000.01016.23
7.0.90.0070.01015.86
7.0.80.0030.01316.23
7.0.70.0000.01716.00
7.0.60.0000.01315.99
7.0.50.0000.01716.11
7.0.40.0000.01316.27
7.0.30.0130.00316.27
7.0.20.0070.00715.96
7.0.10.0000.01716.12
7.0.00.0030.01316.21

preferences:
44.48 ms | 400 KiB | 5 Q