• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • ReflectionProperty::isPublic()

    (PHP 5, PHP 7)

    Checks if property is public

    说明

    publicReflectionProperty::isPublic(void) : bool

    Checks whether the property is public.

    参数

    此函数没有参数。

    返回值

    TRUEif the property is public,FALSEotherwise.

    参见

    • ReflectionProperty::isProtected() Checks if property is protected
    • ReflectionProperty::isPrivate() Checks if property is private
    • ReflectionProperty::isStatic() Checks if property is static