1--TEST--
2JIT SEND_VAR_EX may leak with named args
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--FILE--
8<?php
9for ($i = 0; $i < 3; $i++ ) {
10	$x = 0;
11	test(a: $x);
12	var_dump($x);
13}
14
15function test(&$a = null, ?SomeType &$b = null) {
16    $a++;
17}
18?>
19--EXPECT--
20int(1)
21int(1)
22int(1)
23