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() ); }

preferences:
30.45 ms | 404 KiB | 5 Q