3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; #[Blah] function doit() { echo __FUNCTION__, "\n"; } echo doit::class, "\n";

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.1.100.0070.00017.25
8.1.90.0030.00717.22
8.1.80.0080.00817.36
8.1.70.0070.00717.27
8.1.60.0080.01117.42
8.1.50.0110.00717.34
8.1.40.0110.00717.39
8.1.30.0120.00617.41
8.1.20.0110.00717.43
8.1.10.0100.00717.29
8.1.00.0120.00617.35
8.0.230.0030.00316.75
8.0.220.0080.00716.75
8.0.210.0120.00316.63
8.0.200.0070.00716.74
8.0.190.0150.00016.78
8.0.180.0110.00416.75
8.0.170.0060.00816.62
8.0.160.0050.01016.71
8.0.150.0130.00316.54
8.0.140.0110.00316.70
8.0.130.0160.00016.54
8.0.120.0100.00516.67
8.0.110.0090.00616.80
8.0.100.0100.00516.62
8.0.90.0080.00516.53
8.0.80.0070.00716.65
8.0.70.0120.00316.75
8.0.60.0050.01016.67
8.0.50.0150.00016.66
8.0.30.0130.00316.68
8.0.20.0120.00216.82
8.0.10.0100.00516.70
7.4.300.0060.00016.35
7.4.290.0110.00516.50
7.4.280.0110.00616.45
7.4.270.0090.00916.37
7.4.260.0110.00516.27
7.4.250.0090.00016.46
7.4.240.0000.00716.36
7.4.230.0000.00716.33
7.4.220.0050.00216.46
7.4.210.0080.00316.46
7.4.200.0060.00616.36
7.4.190.0090.00516.32
7.4.180.0140.00016.49
7.4.160.0070.00716.33
7.4.150.0070.00716.31
7.4.140.0150.00016.30
7.4.130.0090.00516.31
7.4.120.0120.00316.19
7.4.110.0070.00716.23
7.4.100.0100.00516.39
7.4.90.0100.00316.29
7.4.80.0140.00016.34
7.4.70.0150.00016.31
7.4.60.0110.00416.25
7.4.50.0140.00016.25
7.4.40.0070.00716.27
7.4.30.0110.00216.36
7.4.20.0120.00216.23
7.4.10.0110.00316.35
7.4.00.0120.00316.24

preferences:
11.31 ms | 406 KiB | 5 Q