Emitted when referring to a deprecated constant:
<?php
class A {
/** @deprecated */
const FOO = 'foo';
}
echo A::FOO;
The @deprecated
tag is normally indicative of code that will stop working in the near future.
Don’t use the deprecated constant.