1--TEST--
2Uninitialized run-time cache when resolving default values
3--FILE--
4<?php
5
6class Test {
7    public static function method($a = FOO, $b = 1) {
8        echo "a = $a, b = $b\n";
9    }
10}
11
12define('FOO', 42);
13call_user_func(['Test', 'method'], b: 0);
14
15?>
16--EXPECT--
17a = 42, b = 0
18