略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ReflectionFunction::isDisabled

2025-02-27

ReflectionFunction::isDisabled

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

ReflectionFunction::isDisabledChecks if function is disabled

警告

本函数已自 PHP 8.0.0 起被废弃。强烈建议不要依赖本函数。

说明

#[\Deprecated]
public ReflectionFunction::isDisabled(): bool

Checks if the function is disabled, via the disable_functions directive.

参数

此函数没有参数。

返回值

true if it's disabled, otherwise false

更新日志

版本 说明
8.0.0 This function has been deprecated, as ReflectionFunction can no longer be constructed for disabled functions.
添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/reflectionfunction.isdisabled.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3