php-src/Zend/tests/bug27145.phpt
2004-02-05 02:16:08 +00:00

13 lines
284 B
PHP
Executable File

--TEST--
Bug #27145 (Errors messages print unmangled PPP property names)
--FILE--
<?php
class a {
protected static $v = "aa";
}
class b extends a {
protected static $v = "bb";
}
?>
--EXPECTF--
Fatal error: Cannot redeclare property static protected a::$v in class b in %s on line %d