Inspectopedia
 
2024.3

Deprecated partially supported callables

Warning
New
Last modified: 03 December 2024

Reports deprecated usage of callables that are supported by call_user_func($callable), but not by $callable().

Starting from PHP 8.2, the following callables are deprecated:

"self::method" "parent::method" "static::method" ["self", "method"] ["parent", "method"] ["static", "method"] ["Foo", "Bar::method"] [new Foo, "Bar::method"]

See Deprecate partially supported callables (php.net) for details.