1--TEST--
2Assigning a non-existent static property by reference
3--FILE--
4<?php
5Class C {}
6$a = 'foo';
7C::$p =& $a;
8?>
9--EXPECTF--
10Fatal error: Uncaught Error: Access to undeclared static property C::$p in %s:%d
11Stack trace:
12#0 {main}
13 thrown in %s on line 4
14