1--TEST--
2Exceptions ignoring arguments
3--FILE--
4<?php
5$function = function(string $user, string $pass) {
6    throw new Exception();
7};
8
9ini_set("zend.exception_ignore_args", 1);
10
11$function("secrets", "arewrong");
12?>
13--EXPECTF--
14Fatal error: Uncaught Exception in %sexception_ignore_args.php:3
15Stack trace:
16#0 %s(%d): {closure:%s:%d}()
17#1 {main}
18  thrown in %sexception_ignore_args.php on line 3
19