- Output for 8.4.1 - 8.4.2
- Deprecated: Method Foo::doFoo() is deprecated in /in/MEJTq on line 15
- Output for 8.2.0 - 8.2.27, 8.3.0 - 8.3.15
<?php
class Foo
{
#[Deprecated]
public function doFoo(): void
{
}
}
$foo = new Foo();
$foo->doFoo();