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