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
7opcache.jit_buffer_size=1M
8--FILE--
9<?php
10for ($i = 0; $i < 3; $i++ ) {
11	$x = 0;
12	test(a: $x);
13	var_dump($x);
14}
15
16function test(&$a = null, SomeType &$b = null) {
17    $a++;
18}
19?>
20--EXPECT--
21int(1)
22int(1)
23int(1)
24