blob: a53b9c52d2c7975e40b580ee87377b622b781963 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Assigning & incrementing a non-existent static property
--FILE--
<?php
Class C {}
C::$p += 1;
?>
--EXPECTF--
Fatal error: Uncaught exception 'Error' with message 'Access to undeclared static property: C::$p' in %s:3
Stack trace:
#0 {main}
thrown in %s on line 3
|