1--TEST--
2Can't use name of lexical variable for parameter
3--FILE--
4<?php
5
6$a = 1;
7$fn = function ($a) use ($a) {
8 var_dump($a);
9};
10$fn(2);
11
12?>
13--EXPECTF--
14Fatal error: Cannot use lexical variable $a as a parameter name in %s on line %d
15