[php] Avoid creating dynamic properties in testsuite
This gives a deprecation warning with PHP 8.2.
This commit is contained in:
parent
e789c9e799
commit
91887a10cd
3 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ check::classes(array('A','StringVector'));
|
|||
check::globals(array());
|
||||
|
||||
class B extends A {
|
||||
public $smem;
|
||||
|
||||
function get_first() {
|
||||
return parent::get_first() . " world!";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue