mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
We should not call a non-static method statically
This integrates user note 126567.
This commit is contained in:
parent
7fcb23ea98
commit
87a037014f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ runkit7_method_rename(
|
|||
);
|
||||
|
||||
// output renamed function
|
||||
echo Example::bar();
|
||||
echo (new Example)->bar();
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue