mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
9 lines
175 B
PHP
9 lines
175 B
PHP
--TEST--
|
|
Incrementing a non-existent static property
|
|
--FILE--
|
|
<?php
|
|
Class C {}
|
|
C::$p++;
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Access to undeclared static property: C::$p in %s on line 3
|