<?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 => 'tr',
  ),
  'this' => 
  array (
    0 => 'class.reflectionconstant.php',
    1 => 'ReflectionConstant',
    2 => 'The ReflectionConstant class',
  ),
  'up' => 
  array (
    0 => 'book.reflection.php',
    1 => 'Reflection',
  ),
  'prev' => 
  array (
    0 => 'reflectionclassconstant.tostring.php',
    1 => 'ReflectionClassConstant::__toString',
  ),
  'next' => 
  array (
    0 => 'reflectionconstant.construct.php',
    1 => 'ReflectionConstant::__construct',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/reflection/reflectionconstant.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.reflectionconstant.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.reflectionconstant" class="reference">
 <h1 class="title">The ReflectionConstant class</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 8 &gt;= 8.4.0)</p>
  <div class="section" id="reflectionconstant.intro">
   <h2 class="title">Giriş</h2>
   <p class="simpara">
    The <span class="classname"><strong class="classname">ReflectionConstant</strong></span> class reports
    information about a global constant.
   </p>
  </div>

  <div class="section" id="reflectionconstant.synopsis">
   <h2 class="title">Sınıf Sözdizimi</h2>

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

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

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Özellikler */</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.reflectionconstant.php#reflectionconstant.props.name">$<var class="varname">name</var></a></var>;</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Yöntemler */</div>
    <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="reflectionconstant.construct.php" class="methodname">__construct</a></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>)</div>

    <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionconstant.getextension.php" class="methodname">getExtension</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.reflectionextension.php" class="type ReflectionExtension">ReflectionExtension</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="reflectionconstant.getextensionname.php" class="methodname">getExtensionName</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="reflectionconstant.getfilename.php" class="methodname">getFileName</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="reflectionconstant.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="reflectionconstant.getnamespacename.php" class="methodname">getNamespaceName</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="reflectionconstant.getshortname.php" class="methodname">getShortName</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="reflectionconstant.getvalue.php" class="methodname">getValue</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="reflectionconstant.isdeprecated.php" class="methodname">isDeprecated</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="reflectionconstant.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="reflectionconstant.props">
   <h2 class="title">Özellikler</h2>
   <dl>
    
     <dt id="reflectionconstant.props.name"><var class="varname">name</var></dt>
     <dd>
      <span class="simpara">
       Name of the constant. Read-only, throws
       <span class="classname"><a href="class.reflectionexception.php" class="classname">ReflectionException</a></span> in attempt to write.
      </span>
     </dd>
    
   </dl>
  </div>

  <div class="section">
   <h2 class="title">Sürüm Bilgisi</h2>
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Sürüm: </th>
       <th>Açıklama</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.5.0</td>
       <td>
        The class is no longer final.
       </td>
      </tr>

     </tbody>
    
   </table>

  </div>

  <div class="section" id="reflectionconstant.seealso">
   <h2 class="title">Ayrıca Bakınız</h2>
   <ul class="simplelist">
    <li><span class="classname"><a href="class.reflectionclassconstant.php" class="classname">ReflectionClassConstant</a></span></li>
   </ul>
  </div>

 </div>

 








































<h2>İçindekiler</h2><ul class="chunklist chunklist_reference"><li><a href="reflectionconstant.construct.php">ReflectionConstant::__construct</a> — Constructs a ReflectionConstant</li><li><a href="reflectionconstant.getextension.php">ReflectionConstant::getExtension</a> — Gets ReflectionExtension of the defining extension</li><li><a href="reflectionconstant.getextensionname.php">ReflectionConstant::getExtensionName</a> — Gets name of the defining extension</li><li><a href="reflectionconstant.getfilename.php">ReflectionConstant::getFileName</a> — Gets name of the defining file</li><li><a href="reflectionconstant.getname.php">ReflectionConstant::getName</a> — Gets name</li><li><a href="reflectionconstant.getnamespacename.php">ReflectionConstant::getNamespaceName</a> — Gets namespace name</li><li><a href="reflectionconstant.getshortname.php">ReflectionConstant::getShortName</a> — Gets short name</li><li><a href="reflectionconstant.getvalue.php">ReflectionConstant::getValue</a> — Gets value</li><li><a href="reflectionconstant.isdeprecated.php">ReflectionConstant::isDeprecated</a> — Checks if deprecated</li><li><a href="reflectionconstant.tostring.php">ReflectionConstant::__toString</a> — Returns string representation</li></ul>
</div>
<?php manual_footer($setup); ?>