3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register(function (string $class): void { var_dump($class); }); use App\Foo; use App\Bar as ABar; //new Foo(); //new ABar();

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.20.0070.00319.68
8.4.10.0060.00319.38
8.3.150.0000.01517.00
8.3.140.0110.00416.57
8.3.130.0030.00618.42
8.3.120.0060.00320.51
8.3.110.0110.00420.94
8.3.100.0090.00024.06
8.3.90.0110.00726.77
8.3.80.0060.00618.15
8.3.70.0290.00417.95
8.3.60.0210.00417.93
8.3.50.0100.00318.02
8.3.40.0210.00218.13
8.3.30.0180.00418.05
8.3.20.0200.00718.05
8.3.10.0150.00818.05
8.3.00.0220.00318.08
8.2.270.0120.00317.19
8.2.260.0070.01116.32
8.2.250.0040.00418.33
8.2.240.0150.00018.70
8.2.230.0040.00422.58
8.2.220.0170.00037.54
8.2.210.0060.00326.77
8.2.200.0150.00717.88
8.2.190.0190.00517.92
8.2.180.0170.00617.85
8.2.170.0200.00518.10
8.2.160.0210.00418.08
8.2.150.0220.00418.05
8.2.140.0230.00318.08
8.2.130.0210.00518.10
8.2.120.0180.00718.10
8.2.110.0170.00718.10
8.2.100.0180.00618.05
8.2.90.0170.00718.08
8.2.80.0190.00518.23
8.2.70.0190.00618.10
8.2.60.0170.00518.08
8.2.50.0190.00518.24
8.2.40.0180.00418.10
8.2.30.0190.00518.08
8.2.20.0160.00718.10
8.2.10.0190.00418.10
8.2.00.0140.00718.10
8.1.310.0000.00817.70
8.1.300.0090.00617.83
8.1.290.0180.00415.88
8.1.280.0170.00717.83
8.1.270.0180.00618.43
8.1.260.0200.00518.46
8.1.250.0200.00518.10
8.1.240.0180.00518.05
8.1.230.0160.00718.08
8.1.220.0200.00318.37
8.1.210.0190.00318.22
8.1.200.0210.00218.02
8.1.190.0180.00518.15
8.1.180.0180.00318.07
8.1.170.0160.00518.08
8.1.160.0180.00418.05
8.1.150.0180.00318.08
8.1.140.0170.00518.03
8.1.130.0170.00418.05
8.1.120.0170.00518.18
8.1.110.0160.00618.03
8.1.100.0160.00418.26
8.1.90.0120.00718.05
8.1.80.0140.00618.10
8.1.70.0160.00418.10
8.1.60.0140.00918.61
8.1.50.0200.00218.10
8.1.40.0170.00618.10
8.1.30.0150.00618.31
8.1.20.0170.00318.12
8.1.10.0150.00518.12
8.1.00.0190.00418.10

preferences:
32.27 ms | 403 KiB | 5 Q