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