WI-59532 defined function depends on global scope
This commit is contained in:
parent
6ee5468c73
commit
7e0de85c8a
|
@ -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 {}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue