<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/reserved.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'reserved.other-reserved-words.php',
    1 => 'List of other reserved words',
    2 => 'List of other reserved words',
  ),
  'up' => 
  array (
    0 => 'reserved.php',
    1 => 'List of Reserved Words',
  ),
  'prev' => 
  array (
    0 => 'reserved.constants.php',
    1 => 'Predefined Constants',
  ),
  'next' => 
  array (
    0 => 'resource.php',
    1 => 'List of Resource Types',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'appendices/reserved.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reserved.other-reserved-words" class="sect1">
   <h2 class="title">List of other reserved words</h2>
   <p class="simpara">
    The following words cannot be used to name a class, interface or trait.
    Prior to PHP 8.0, they are also prohibited from being used in namespaces.
   </p>
   <p class="para">
    <table class="doctable table">
     <caption><strong>Reserved words</strong></caption>
     
      <tbody class="tbody">
       <tr>
        <td>
         parent
        </td>
        <td>
         self
        </td>
        <td>
         int
        </td>
        <td>
         float
        </td>
       </tr>

       <tr>
        <td>
         bool
        </td>
        <td>
         string
        </td>
        <td>
         true
        </td>
        <td>
         false
        </td>
       </tr>

       <tr>
        <td>
         null
        </td>
        <td>
         void (as of PHP 7.1)
        </td>
        <td>
         iterable (as of PHP 7.1)
        </td>
        <td>
         object (as of PHP 7.2)
        </td>
       </tr>

       <tr>
        <td>
         mixed (as of PHP 8.0)
        </td>
        <td>
         never (as of PHP 8.1)
        </td>
        <td>
         array (as of PHP 8.5)
        </td>
        <td>
         callable (as of PHP 8.5)
        </td>
       </tr>

      </tbody>
     
    </table>

   </p>
   <p class="para">
    The following list of words have had soft reservations placed on them.
    Whilst they may still be used as class, interface, and trait names
    usage of them is highly discouraged since they may be
    used in future versions of PHP.
   </p>
   <p class="para">
    <table class="doctable table">
     <caption><strong>Soft reserved words</strong></caption>
     
      <tbody class="tbody">
       <tr>
        <td>
         enum
        </td>
        <td>
         resource
        </td>
        <td>
         numeric
        </td>
        <td>
        </td>
       </tr>

      </tbody>
     
    </table>

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