php-src/tests/classes/static_properties_undeclared_inc.phpt
2009-06-17 10:38:25 +00:00

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