ReflectionFunction::isDisabled
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
ReflectionFunction::isDisabled — Checks if function is disabled
警告
本函数已自 PHP 8.0.0 起被废弃。强烈建议不要依赖本函数。
说明
#[\Deprecated(
)]
public function ReflectionFunction::isDisabled(): bool
since: '8.0',message: "as ReflectionFunction can no longer be constructed for disabled functions",)]
public function ReflectionFunction::isDisabled(): bool
Checks if the function is disabled, via the disable_functions directive.
参数
此函数没有参数。
更新日志
| 版本 | 说明 |
|---|---|
| 8.0.0 | This function has been deprecated, as ReflectionFunction can no longer be constructed for disabled functions. |
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
