3v4l.org

run code in 300+ PHP versions simultaneously
<?php $function = function(string $user, string $pass) { throw new Exception(); }; try { $function("secrets", "arewrong"); } catch (\Throwable $e) { var_dump($e->getTrace()[0]); } ini_set("zend.exception_ignore_args", 1); try { $function("secrets", "arewrong"); } catch (\Throwable $e) { var_dump($e->getTrace()[0]); }

preferences:
23.53 ms | 405 KiB | 5 Q