<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.reflectionclass.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'reflectionclass.getstaticproperties.php',
    1 => 'ReflectionClass::getStaticProperties',
    2 => '获取静态（static）属性',
  ),
  'up' => 
  array (
    0 => 'class.reflectionclass.php',
    1 => 'ReflectionClass',
  ),
  'prev' => 
  array (
    0 => 'reflectionclass.getstartline.php',
    1 => 'ReflectionClass::getStartLine',
  ),
  'next' => 
  array (
    0 => 'reflectionclass.getstaticpropertyvalue.php',
    1 => 'ReflectionClass::getStaticPropertyValue',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/reflection/reflectionclass/getstaticproperties.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reflectionclass.getstaticproperties" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionClass::getStaticProperties</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ReflectionClass::getStaticProperties</span> &mdash; <span class="dc-title">获取静态（static）属性</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-reflectionclass.getstaticproperties-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ReflectionClass::getStaticProperties</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>

  <p class="para rdfs-comment">
   获取静态（static）属性。
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-reflectionclass.getstaticproperties-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-reflectionclass.getstaticproperties-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   静态（static）的属性，类型是 <span class="type"><a href="language.types.array.php" class="type array">array</a></span>。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-reflectionclass.getstaticproperties-changelog">
  <h3 class="title">更新日志</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>版本</th>
      <th>说明</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.3.0</td>
      <td>
       <span class="methodname"><strong>ReflectionClass::getStaticProperties()</strong></span> 的返回类型已经从
       <span class="type"><a href="language.types.array.php" class="type array">array</a></span> 更改为 <code class="literal">?array</code>。
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-reflectionclass.getstaticproperties-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="reflectionclass.getstaticpropertyvalue.php" class="methodname" rel="rdfs-seeAlso">ReflectionClass::getStaticPropertyValue()</a> - 获取静态（static）属性的值</span></li>
    <li><span class="methodname"><a href="reflectionclass.setstaticpropertyvalue.php" class="methodname" rel="rdfs-seeAlso">ReflectionClass::setStaticPropertyValue()</a> - 设置 public static 属性的值</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>