1--TEST--
2Recursive call with too few args
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=32M
8--FILE--
9<?php
10function f($arg) {
11    f();
12}
13try {
14    f();
15} catch (ArgumentCountError $e) {
16    echo $e->getMessage(), "\n";
17}
18?>
19--EXPECTF--
20Too few arguments to function f(), 0 passed in %s on line %d and exactly 1 expected
21