1--TEST--
2Static variable can't override bound closure variables
3--FILE--
4<?php
5
6$a = null;
7
8function () use (&$a) {
9    static $a;
10};
11
12?>
13--EXPECTF--
14Fatal error: Duplicate declaration of static variable $a in %s on line %d
15