diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-10 11:34:05 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-17 10:05:06 +0100 |
commit | 9ec1ee5976f4c0131943cc8863a344caf5492773 (patch) | |
tree | c557dd0e451bd525befd7199eaa71c1f9bcdb212 /ext/mbstring/php_mbregex.c | |
parent | ae706e51e1fc2a9992ffc83fe653a5224c2144d6 (diff) | |
download | php-git-9ec1ee5976f4c0131943cc8863a344caf5492773.tar.gz |
Add support for deprecating constants
Internal constants can be marked as CONST_DEPRECATED, in which
case accessing them will throw a deprecation warning.
For now this is only supported on global constants, not class
constants. Complain to me if you need to deprecate a class
constant...
Closes GH-5072.
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
0 files changed, 0 insertions, 0 deletions