php-8.0.30-src/Zend/tests/static_variable_in_private_...

17 lines
198 B
PHP

--TEST--
Inheritance of private method with static variable
--FILE--
<?php
class A {
private function m() {
static $x;
}
}
class B extends A {}
?>
===DONE===
--EXPECT--
===DONE===