1--TEST--
2Passing undefined variable to named arg
3--FILE--
4<?php
5
6function func1($arg) { var_dump($arg); }
7func1(arg: $undef);
8func2(arg: $undef);
9function func2($arg) { var_dump($arg); }
10
11?>
12--EXPECTF--
13Warning: Undefined variable $undef in %s on line %d
14NULL
15
16Warning: Undefined variable $undef in %s on line %d
17NULL
18