![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Assigning a non-existent static property by reference ! 3: --FILE-- ! 4: <?php ! 5: Class C {} ! 6: $a = 'foo'; ! 7: C::$p =& $a; ! 8: ?> ! 9: --EXPECTF-- ! 10: Fatal error: Access to undeclared static property: C::$p in %s on line 4