PHP函数大全 · R
千寻网 PHP 函数大全,收录以字母 r 开头的 PHP 函数,共 544 个,含用途说明、示例。 共 544 个函数
- ReflectionParameter::getDeclaringClass() 获取定义了包含参数的类
- ReflectionParameter::getClass() 获取参数的类名
- ReflectionParameter::getAttributes() 获取参数的属性
- ReflectionParameter::export() 导出参数的字符串表示
- ReflectionParameter::canBePassedByValue() 检查参数是否可以通过值传递
- ReflectionParameter::allowsNull() 检查参数是否允许为null
- ReflectionObject::__construct() 创建一个新的 ReflectionObject 对象,该对象可以用于获取类的反射信息
- ReflectionNamedType::isBuiltin() 检查给定的命名类型是否为内置类型
- ReflectionNamedType::getName() 返回反射命名类型的名称
- ReflectionMethod::__toString() 将ReflectionMethod对象转换为字符串
- ReflectionMethod::__construct() 创建一个 ReflectionMethod 对象,以便于获取和操作类的方法的信息
- ReflectionMethod::setAccessible() 设置私有或受保护的方法的可访问性
- ReflectionMethod::isPublic() 检查方法是否为公共方法
- ReflectionMethod::isProtected() 检查当前方法是否为受保护的
- ReflectionMethod::isPrivate() 判断一个方法是否为私有方法
- ReflectionMethod::isFinal() 检查一个方法是否被声明为final(最终的)
- ReflectionObject::export() 将ReflectionObject对象的信息导出为字符串
- ReflectionReference::fromArrayElement() 从数组元素中获取引用的反射
- ReflectionProperty::__toString() 返回ReflectionProperty对象的字符串表示形式
- ReflectionProperty::__construct() 创建ReflectionProperty对象的构造函数
- ReflectionProperty::__clone() 克隆ReflectionProperty对象
- ReflectionProperty::setValue() 设置一个对象的属性值
- ReflectionProperty::setAccessible() 设置属性的可访问性的方法
- ReflectionProperty::isStatic() 判断一个属性是否为静态属性
- ReflectionProperty::isReadOnly() 检查类的属性是否为只读
- ReflectionProperty::isProtected() 检查一个类的属性是否被声明为 protected
- ReflectionProperty::isPromoted() 检查属性是否是在类中被提升(promoted)的
- ReflectionProperty::isPrivate() 检查指定属性是否为私有属性
- ReflectionProperty::isInitialized() 检查类的属性是否已经被初始化
- ReflectionProperty::isDefault() 检查属性是否为默认值
- ReflectionProperty::hasType() 检查属性是否有类型声明
- ReflectionProperty::hasDefaultValue() 检查属性是否具有默认值
- ReflectionProperty::getValue() 获取对象的属性值
- ReflectionProperty::getType() 获取类属性的类型
- ReflectionProperty::getName() 获取反射属性的名称
- ReflectionProperty::getModifiers() 获取属性的修饰符
- ReflectionProperty::getDocComment() 获取类属性的文档注释
- ReflectionProperty::getDefaultValue() 获取属性的默认值
- ReflectionProperty::getDeclaringClass() 获取声明该属性的类的反射类
- ReflectionProperty::getAttributes() 获取属性的属性列表
- ReflectionProperty::export() 导出一个类的属性
- ReflectionParameter::__toString() 返回参数的字符串表示形式,包括参数的类型和名称
- ReflectionProperty::isPublic() 检查类的属性是否为公共属性(public)
- ReflectionParameter::__construct() 创建一个 ReflectionParameter 对象,用于获取函数或方法的参数信息
- ReflectionParameter::__clone() 创建ReflectionParameter对象的副本
- ReflectionParameter::isVariadic() 检查参数是否为可变参数
- ReflectionParameter::isPassedByReference() 检查函数或方法参数是否按引用传递
- ResourceBundle::create() 访问特定于语言环境的资源包
- ResourceBundle::count() 获取 Resource Bundle 中的条目数
- reset() 将数组的内部指针指向第一个元素,并返回该元素的值
- rename() 重命名或移动文件或目录
- register_tick_function() 注册一个用户定义的函数来在每个 tick(时钟周期)发生时执行
- register_shutdown_function() 在脚本执行完毕或者因致命错误而终止时注册一个回调函数
- RegexIterator::setPregFlags() 设置正则表达式标志
- RegexIterator::setMode() 设置正则表达式迭代器的搜索模式
- RegexIterator::setFlags() 设置正则表达式迭代器的标志位
- RegexIterator::getRegex() 获取当前正则表达式迭代器对象中使用的正则表达式
- RegexIterator::getPregFlags() 获取正则表达式标志位的值
- RegexIterator::getMode() 获取当前正则表达式迭代器的模式
- RegexIterator::getFlags() 获取当前正则表达式迭代器的标志位