3v4l.org

run code in 300+ PHP versions simultaneously
<?php function some_lib( $auth ) { throw new Exception( 'Some error' ); } function my_code( #[\SensitiveParameter] $password ) { some_lib( $password ); } try { my_code('hunter2'); } catch ( Throwable $e ) { var_dump( $e->getTrace() ); }

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.5.10.0130.00616.59
8.5.00.0140.00620.20
8.4.150.0020.00014.05
8.4.140.0110.01017.68
8.4.130.0090.01017.83
8.4.120.0140.00620.36
8.4.110.0080.00722.43
8.4.100.0080.00318.00
8.4.90.0140.00717.86
8.4.80.0120.00918.03
8.4.70.0120.00918.01
8.4.60.0140.01317.98
8.4.50.0070.00919.70
8.3.280.0130.00718.30
8.3.270.0160.00516.27
8.3.260.0110.00816.92
8.3.250.0110.00818.78
8.3.240.0090.01016.67
8.3.230.0100.00916.69
8.3.220.0050.00917.10
8.3.210.0070.00816.84
8.3.200.0130.00616.72
8.3.190.0130.00618.71
8.3.180.0120.00316.62
8.3.50.0100.00916.44
8.2.290.0070.01120.37
8.2.280.0120.00716.78

preferences:
42.25 ms | 403 KiB | 5 Q