### Description The following code: ```php <?php class Clazz { #[\Deprecated] function __call(string $name, array $params) { } #[\Deprecated("due to some reason")] static function __callStatic(string $name, array $params) { } } $cls = new Clazz(); $cls->test(); Clazz::test2(); ?> ``` Resulted in this output: ``` ``` But I expected this output instead: ``` Deprecated: Method Clazz::test() is deprecated in %s Deprecated: Method Clazz::test2() is deprecated, due to some reason in %s on line %d ``` ### PHP Version PHP 8.4.3 ### Operating System _No response_