WI-59532 defined function depends on global scope

This commit is contained in:
Ivan Fedorov 2021-03-31 13:30:50 +03:00 committed by Ivan Fedorov
parent 6ee5468c73
commit 7e0de85c8a
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ function define(string $constant_name, $value, #[Deprecated] bool $case_insensit
* @return bool true if the named constant given by <i>name</i>
* has been defined, false otherwise.
*/
#[Pure]
#[Pure(true)]
function defined(string $constant_name): bool {}
/**