<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.reflection.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'class.reflectionproperty.php',
    1 => 'ReflectionProperty',
    2 => 'The ReflectionProperty class',
  ),
  'up' => 
  array (
    0 => 'book.reflection.php',
    1 => 'Reflection',
  ),
  'prev' => 
  array (
    0 => 'reflectionparameter.tostring.php',
    1 => 'ReflectionParameter::__toString',
  ),
  'next' => 
  array (
    0 => 'reflectionproperty.clone.php',
    1 => 'ReflectionProperty::__clone',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/reflection/reflectionproperty.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.reflectionproperty.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.reflectionproperty" class="reference">

 <h1 class="title">The ReflectionProperty class</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 5, PHP 7, PHP 8)</p>


  <div class="section" id="reflectionproperty.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    The <span class="classname"><strong class="classname">ReflectionProperty</strong></span> class reports
    information about class properties.
   </p>
  </div>


  <div class="section" id="reflectionproperty.synopsis">
   <h2 class="title">Class synopsis</h2>


   <div class="classsynopsis"><div class="classsynopsisinfo">
    
     <span class="modifier">class</span> <strong class="classname"><strong class="classname">ReflectionProperty</strong></strong>
    

    
     <span class="modifier">implements</span>
      <a href="class.reflector.php" class="interfacename">Reflector</a> {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Constants */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-static"><var class="varname">IS_STATIC</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-readonly"><var class="varname">IS_READONLY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-public"><var class="varname">IS_PUBLIC</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-protected"><var class="varname">IS_PROTECTED</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-private"><var class="varname">IS_PRIVATE</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-abstract"><var class="varname">IS_ABSTRACT</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-protected-set"><var class="varname">IS_PROTECTED_SET</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-private-set"><var class="varname">IS_PRIVATE_SET</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-virtual"><var class="varname">IS_VIRTUAL</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.reflectionproperty.php#reflectionproperty.constants.is-final"><var class="varname">IS_FINAL</var></a></var>;</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Properties */</div>
    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
      <var class="varname"><a href="class.reflectionproperty.php#reflectionproperty.props.name">$<var class="varname">name</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
      <var class="varname"><a href="class.reflectionproperty.php#reflectionproperty.props.class">$<var class="varname">class</var></a></var>;</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.construct.php" class="methodname">__construct</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.object.php" class="type object">object</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$class</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$property</code></span>)</div>

    <div class="methodsynopsis dc-description"><span class="modifier">private</span> <span class="methodname"><a href="reflectionproperty.clone.php" class="methodname">__clone</a></span>(): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><a href="reflectionproperty.export.php" class="methodname">export</a></span>(<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$class</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$name</code></span>, <span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$return</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getattributes.php" class="methodname">getAttributes</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$name</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flags</code><span class="initializer"> = 0</span></span>): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getdeclaringclass.php" class="methodname">getDeclaringClass</a></span>(): <span class="type"><a href="class.reflectionclass.php" class="type ReflectionClass">ReflectionClass</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getdefaultvalue.php" class="methodname">getDefaultValue</a></span>(): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getdoccomment.php" class="methodname">getDocComment</a></span>(): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.gethook.php" class="methodname">getHook</a></span>(<span class="methodparam"><span class="type"><a href="enum.propertyhooktype.php" class="type PropertyHookType">PropertyHookType</a></span> <code class="parameter">$type</code></span>): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="class.reflectionmethod.php" class="type ReflectionMethod">ReflectionMethod</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.gethooks.php" class="methodname">getHooks</a></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getmodifiers.php" class="methodname">getModifiers</a></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getname.php" class="methodname">getName</a></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getrawvalue.php" class="methodname">getRawValue</a></span>(<span class="methodparam"><span class="type"><a href="language.types.object.php" class="type object">object</a></span> <code class="parameter">$object</code></span>): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getsettabletype.php" class="methodname">getSettableType</a></span>(): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="class.reflectiontype.php" class="type ReflectionType">ReflectionType</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.gettype.php" class="methodname">getType</a></span>(): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="class.reflectiontype.php" class="type ReflectionType">ReflectionType</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.getvalue.php" class="methodname">getValue</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.object.php" class="type object">object</a></span></span> <code class="parameter">$object</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.hasdefaultvalue.php" class="methodname">hasDefaultValue</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.hashook.php" class="methodname">hasHook</a></span>(<span class="methodparam"><span class="type"><a href="enum.propertyhooktype.php" class="type PropertyHookType">PropertyHookType</a></span> <code class="parameter">$type</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.hashooks.php" class="methodname">hasHooks</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.hastype.php" class="methodname">hasType</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isabstract.php" class="methodname">isAbstract</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isdefault.php" class="methodname">isDefault</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isdynamic.php" class="methodname">isDynamic</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isfinal.php" class="methodname">isFinal</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isinitialized.php" class="methodname">isInitialized</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.object.php" class="type object">object</a></span></span> <code class="parameter">$object</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.islazy.php" class="methodname">isLazy</a></span>(<span class="methodparam"><span class="type"><a href="language.types.object.php" class="type object">object</a></span> <code class="parameter">$object</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isprivate.php" class="methodname">isPrivate</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isprivateset.php" class="methodname">isPrivateSet</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.ispromoted.php" class="methodname">isPromoted</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isprotected.php" class="methodname">isProtected</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isprotectedset.php" class="methodname">isProtectedSet</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.ispublic.php" class="methodname">isPublic</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isreadonly.php" class="methodname">isReadOnly</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isstatic.php" class="methodname">isStatic</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.isvirtual.php" class="methodname">isVirtual</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="attribute"><a href="class.deprecated.php">#[\Deprecated]</a> </span><br>
   <span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.setaccessible.php" class="methodname">setAccessible</a></span>(<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$accessible</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.setrawvalue.php" class="methodname">setRawValue</a></span>(<span class="methodparam"><span class="type"><a href="language.types.object.php" class="type object">object</a></span> <code class="parameter">$object</code></span>, <span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.setrawvaluewithoutlazyinitialization.php" class="methodname">setRawValueWithoutLazyInitialization</a></span>(<span class="methodparam"><span class="type"><a href="language.types.object.php" class="type object">object</a></span> <code class="parameter">$object</code></span>, <span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.setvalue.php" class="methodname">setValue</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.object.php" class="type object">object</a></span></span> <code class="parameter">$object</code></span>, <span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.skiplazyinitialization.php" class="methodname">skipLazyInitialization</a></span>(<span class="methodparam"><span class="type"><a href="language.types.object.php" class="type object">object</a></span> <code class="parameter">$object</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionproperty.tostring.php" class="methodname">__toString</a></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

   }</div>


  </div>

  

  <div class="section" id="reflectionproperty.props">
   <h2 class="title">Properties</h2>
   <dl>
    
     <dt id="reflectionproperty.props.name"><var class="varname">name</var></dt>
     <dd>
      <p class="para">
       Name of the property. Read-only, throws
       <span class="classname"><a href="class.reflectionexception.php" class="classname">ReflectionException</a></span> in attempt to write.
      </p>
     </dd>
    
    
     <dt id="reflectionproperty.props.class"><var class="varname">class</var></dt>
     <dd>
      <p class="para">
       Name of the class where the property is defined. Read-only, throws
       <span class="classname"><a href="class.reflectionexception.php" class="classname">ReflectionException</a></span> in attempt to write.
      </p>
     </dd>
    
   </dl>
  </div>


  

  <div class="section" id="reflectionproperty.constants">
   <h2 class="title">Predefined Constants</h2>
   <div class="section" id="reflectionproperty.constants.modifiers">
    <h2 class="title">ReflectionProperty Modifiers</h2>
    <dl>

     
      <dt id="reflectionproperty.constants.is-static">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-static">ReflectionProperty::IS_STATIC</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <p class="para">
        Indicates <a href="language.oop5.static.php" class="link">static</a>
        properties.
        Prior to PHP 7.4.0, the value was <code class="literal">1</code>.
       </p>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-readonly">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-readonly">ReflectionProperty::IS_READONLY</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <p class="para">
        Indicates <a href="language.oop5.properties.php#language.oop5.properties.readonly-properties" class="link">readonly</a>
        properties. Available as of PHP 8.1.0.
       </p>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-public">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-public">ReflectionProperty::IS_PUBLIC</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <p class="para">
        Indicates <a href="language.oop5.visibility.php" class="link">public</a>
        properties.
        Prior to PHP 7.4.0, the value was <code class="literal">256</code>.
       </p>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-protected">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-protected">ReflectionProperty::IS_PROTECTED</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <p class="para">
        Indicates <a href="language.oop5.visibility.php" class="link">protected</a>
        properties.
        Prior to PHP 7.4.0, the value was <code class="literal">512</code>.
       </p>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-private">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-private">ReflectionProperty::IS_PRIVATE</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <p class="para">
        Indicates <a href="language.oop5.visibility.php" class="link">private</a>
        properties.
        Prior to PHP 7.4.0, the value was <code class="literal">1024</code>.
       </p>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-abstract">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-abstract">ReflectionProperty::IS_ABSTRACT</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <span class="simpara">
        Indicates the property is
        <a href="language.oop5.abstract.php" class="link">abstract</a>.
        Available as of PHP 8.4.0.
       </span>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-protected-set">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-protected-set">ReflectionProperty::IS_PROTECTED_SET</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <span class="simpara">
        Available as of PHP 8.4.0.
       </span>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-private-set">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-private-set">ReflectionProperty::IS_PRIVATE_SET</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <span class="simpara">
        Available as of PHP 8.4.0.
       </span>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-virtual">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-virtual">ReflectionProperty::IS_VIRTUAL</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <span class="simpara">
        Available as of PHP 8.4.0.
       </span>
      </dd>
     

     
      <dt id="reflectionproperty.constants.is-final">
       <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-final">ReflectionProperty::IS_FINAL</a></code></strong>
       <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      </dt>
      <dd>
       <span class="simpara">
        Indicates the property is
        <a href="language.oop5.final.php" class="link">final</a>.
        Available as of PHP 8.4.0.
       </span>
      </dd>
     

    </dl>
    <blockquote class="note"><p><strong class="note">Note</strong>: 
     <p class="para">
      The values of these constants may change between PHP versions.
      It is recommended to always use the constants
      and not rely on the values directly.
     </p>
    </p></blockquote>
   </div>
  </div>


  <div class="section">
   <h2 class="title">Changelog</h2>
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.4.0</td>
       <td>
        The class constants are now typed.
       </td>
      </tr>

      <tr>
       <td>8.4.0</td>
       <td>
        Added <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-virtual">ReflectionProperty::IS_VIRTUAL</a></code></strong>,
        <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-private-set">ReflectionProperty::IS_PRIVATE_SET</a></code></strong>,
        <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-protected-set">ReflectionProperty::IS_PROTECTED_SET</a></code></strong>,
        <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-abstract">ReflectionProperty::IS_ABSTRACT</a></code></strong>,
        and <strong><code><a href="class.reflectionproperty.php#reflectionproperty.constants.is-final">ReflectionProperty::IS_FINAL</a></code></strong>.
       </td>
      </tr>

      <tr>
       <td>8.0.0</td>
       <td>
        <span class="methodname"><a href="reflectionproperty.export.php" class="methodname">ReflectionProperty::export()</a></span> was removed.
       </td>
      </tr>

     </tbody>
    
   </table>

  </div>


 </div>

 



























































































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="reflectionproperty.clone.php">ReflectionProperty::__clone</a> — Clone</li><li><a href="reflectionproperty.construct.php">ReflectionProperty::__construct</a> — Construct a ReflectionProperty object</li><li><a href="reflectionproperty.export.php">ReflectionProperty::export</a> — Export</li><li><a href="reflectionproperty.getattributes.php">ReflectionProperty::getAttributes</a> — Gets Attributes</li><li><a href="reflectionproperty.getdeclaringclass.php">ReflectionProperty::getDeclaringClass</a> — Gets declaring class</li><li><a href="reflectionproperty.getdefaultvalue.php">ReflectionProperty::getDefaultValue</a> — Returns the default value declared for a property</li><li><a href="reflectionproperty.getdoccomment.php">ReflectionProperty::getDocComment</a> — Gets the property doc comment</li><li><a href="reflectionproperty.gethook.php">ReflectionProperty::getHook</a> — Returns a reflection object for a specified hook</li><li><a href="reflectionproperty.gethooks.php">ReflectionProperty::getHooks</a> — Returns an array of all hooks on this property</li><li><a href="reflectionproperty.getmodifiers.php">ReflectionProperty::getModifiers</a> — Gets the property modifiers</li><li><a href="reflectionproperty.getname.php">ReflectionProperty::getName</a> — Gets property name</li><li><a href="reflectionproperty.getrawvalue.php">ReflectionProperty::getRawValue</a> — Returns the value of a property, bypassing a get hook if defined</li><li><a href="reflectionproperty.getsettabletype.php">ReflectionProperty::getSettableType</a> — Returns the parameter type of a setter hook</li><li><a href="reflectionproperty.gettype.php">ReflectionProperty::getType</a> — Gets a property's type</li><li><a href="reflectionproperty.getvalue.php">ReflectionProperty::getValue</a> — Gets value</li><li><a href="reflectionproperty.hasdefaultvalue.php">ReflectionProperty::hasDefaultValue</a> — Checks if property has a default value declared</li><li><a href="reflectionproperty.hashook.php">ReflectionProperty::hasHook</a> — Returns whether the property has a given hook defined</li><li><a href="reflectionproperty.hashooks.php">ReflectionProperty::hasHooks</a> — Returns whether the property has any hooks defined</li><li><a href="reflectionproperty.hastype.php">ReflectionProperty::hasType</a> — Checks if property has a type</li><li><a href="reflectionproperty.isabstract.php">ReflectionProperty::isAbstract</a> — Determines if a property is abstract</li><li><a href="reflectionproperty.isdefault.php">ReflectionProperty::isDefault</a> — Checks if property is a default property</li><li><a href="reflectionproperty.isdynamic.php">ReflectionProperty::isDynamic</a> — Checks if property is a dynamic property</li><li><a href="reflectionproperty.isfinal.php">ReflectionProperty::isFinal</a> — Determines if this property is final or not</li><li><a href="reflectionproperty.isinitialized.php">ReflectionProperty::isInitialized</a> — Checks whether a property is initialized</li><li><a href="reflectionproperty.islazy.php">ReflectionProperty::isLazy</a> — Checks whether a property is lazy</li><li><a href="reflectionproperty.isprivate.php">ReflectionProperty::isPrivate</a> — Checks if property is private</li><li><a href="reflectionproperty.isprivateset.php">ReflectionProperty::isPrivateSet</a> — Checks if property is private for writing</li><li><a href="reflectionproperty.ispromoted.php">ReflectionProperty::isPromoted</a> — Checks if property is promoted</li><li><a href="reflectionproperty.isprotected.php">ReflectionProperty::isProtected</a> — Checks if property is protected</li><li><a href="reflectionproperty.isprotectedset.php">ReflectionProperty::isProtectedSet</a> — Checks whether the property is protected for writing</li><li><a href="reflectionproperty.ispublic.php">ReflectionProperty::isPublic</a> — Checks if property is public</li><li><a href="reflectionproperty.isreadonly.php">ReflectionProperty::isReadOnly</a> — Checks if property is readonly</li><li><a href="reflectionproperty.isstatic.php">ReflectionProperty::isStatic</a> — Checks if property is static</li><li><a href="reflectionproperty.isvirtual.php">ReflectionProperty::isVirtual</a> — Determines if a property is virtual</li><li><a href="reflectionproperty.setaccessible.php">ReflectionProperty::setAccessible</a> — Set property accessibility</li><li><a href="reflectionproperty.setrawvalue.php">ReflectionProperty::setRawValue</a> — Sets the value of a property, bypassing a set hook if defined</li><li><a href="reflectionproperty.setrawvaluewithoutlazyinitialization.php">ReflectionProperty::setRawValueWithoutLazyInitialization</a> — Set raw property value without triggering lazy initialization</li><li><a href="reflectionproperty.setvalue.php">ReflectionProperty::setValue</a> — Set property value</li><li><a href="reflectionproperty.skiplazyinitialization.php">ReflectionProperty::skipLazyInitialization</a> — Marks property as non-lazy</li><li><a href="reflectionproperty.tostring.php">ReflectionProperty::__toString</a> — To string</li></ul>
</div>
<?php manual_footer($setup); ?>