Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 12182

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>List of other reserved words</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reserved.constants.html">Predefined Constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="resource.html">List of Resource Types</a></div>
 <div class="up"><a href="reserved.html">List of Reserved Words</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><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, and
    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>
         int (as of PHP 7)
        </td>
        <td>
         float (as of PHP 7)
        </td>
        <td>
         bool (as of PHP 7)
        </td>
        <td>
         string (as of PHP 7)
        </td>
       </tr>

       <tr>
        <td>
         true (as of PHP 7)
        </td>
        <td>
         false (as of PHP 7)
        </td>
        <td>
         null (as of PHP 7)
        </td>
        <td>
         void (as of PHP 7.1)
        </td>
       </tr>

       <tr>
        <td>
         iterable (as of PHP 7.1)
        </td>
        <td>
         object (as of PHP 7.2)
        </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 (as well
    as in namespaces), 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>
         resource (as of PHP 7)
        </td>
        <td>
         mixed (as of PHP 7)
        </td>
        <td>
         numeric (as of PHP 7)
        </td>
        <td>
        </td>
       </tr>

      </tbody>
     
    </table>

   </p>
  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reserved.constants.html">Predefined Constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="resource.html">List of Resource Types</a></div>
 <div class="up"><a href="reserved.html">List of Reserved Words</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>