3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Nested\Name; class Test { public static function speak(string $name) { var_dump($name::class); } } class Name{} Test::speak('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.4.130.0070.00418.15
8.4.120.0130.00620.67
8.4.110.0160.00518.90
8.4.100.0140.00718.99
8.4.90.0110.00920.64
8.4.80.0110.01120.47
8.4.70.0020.00617.95
8.4.60.0130.00518.66
8.4.50.0080.01018.77
8.4.40.0100.01017.88
8.4.30.0090.00920.60
8.4.20.0030.01618.00
8.4.10.0040.00425.84
8.3.260.0080.00816.66
8.3.250.0120.00618.87
8.3.240.0150.00516.51
8.3.230.0100.00916.46
8.3.220.0140.00518.75
8.3.210.0040.00416.64
8.3.200.0040.00516.72
8.3.190.0030.00616.96
8.3.180.0040.00516.68
8.3.170.0000.00820.96
8.3.160.0110.00717.10
8.3.150.0040.01117.11
8.3.140.0090.00916.51
8.3.130.0120.00016.70
8.3.120.0090.00018.88
8.3.110.0060.00916.77
8.3.100.0030.01220.23
8.3.90.0080.00026.77
8.3.80.0030.00619.36
8.3.70.0140.00718.50
8.3.60.0120.00616.63
8.3.50.0090.00923.58
8.3.40.0090.00618.92
8.3.30.0120.00318.45
8.3.20.0080.00024.18
8.3.10.0030.00524.66
8.3.00.0050.00326.16
8.2.290.0060.01220.45
8.2.280.0070.00120.05
8.2.270.0080.00016.97
8.2.260.0040.00416.88
8.2.250.0000.01919.14
8.2.240.0000.01818.66
8.2.230.0090.00020.94
8.2.220.0100.00024.06
8.2.210.0030.00626.77
8.2.200.0100.00018.88
8.2.190.0090.00916.58
8.2.180.0090.00925.92
8.2.170.0130.00618.96
8.2.160.0070.01022.96
8.2.150.0050.00325.66
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0030.00526.35
8.2.110.0080.00320.44
8.2.100.0060.00320.58
8.1.330.0050.00621.89
8.1.320.0090.01116.16
8.1.310.0070.01016.84
8.1.300.0030.01618.04
8.1.290.0030.00630.84
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0000.01218.48
8.1.230.0030.00718.54
8.0.10.0090.00916.96
8.0.00.0070.01116.87
7.4.140.0100.00716.31
7.4.130.0100.00716.29
7.4.120.0100.00716.33
7.4.110.0030.01816.24
7.4.100.0070.01116.29
7.4.90.0090.00916.45
7.4.80.0120.00416.46
7.4.70.0140.00616.50
7.4.60.0170.00016.39
7.4.50.0070.01016.39
7.4.40.0160.00316.39
7.4.30.0130.00616.59
7.4.20.0110.00716.38
7.4.10.0150.00616.48
7.4.00.0030.01316.65
7.3.260.0070.01316.21
7.3.250.0170.00016.39
7.3.240.0150.00316.45
7.3.230.0150.00316.45
7.3.220.0070.01116.52
7.3.210.0080.00916.11
7.3.200.0060.01116.20
7.3.190.0100.00716.32
7.3.180.0130.00316.50
7.3.170.0060.01116.45
7.3.160.0140.00416.27
7.3.150.0070.01016.13
7.3.140.0150.00316.45
7.3.130.0060.01016.23
7.3.120.0080.00816.30
7.3.110.0100.00616.39
7.3.100.0070.01116.39
7.3.90.0030.01316.38
7.3.80.0130.00316.21
7.3.70.0080.00816.23
7.3.60.0080.00816.39
7.3.50.0100.00716.20
7.3.40.0070.01016.25
7.3.30.0120.00916.27
7.3.20.0120.00616.14
7.3.10.0120.01216.26
7.3.00.0150.00916.23

preferences:
60.02 ms | 403 KiB | 5 Q