mirror of
https://github.com/php/php-src.git
synced 2024-10-18 06:52:34 +00:00
10 lines
201 B
Plaintext
10 lines
201 B
Plaintext
|
--TEST--
|
||
|
Assigning a non-existent static property by reference
|
||
|
--FILE--
|
||
|
<?php
|
||
|
Class C {}
|
||
|
$a = 'foo';
|
||
|
C::$p =& $a;
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Access to undeclared static property: C::$p in %s on line 4
|