Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 2445

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>Predefined Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="filesystem.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.filesystem.html">Filesystem Functions</a></div>
 <div class="up"><a href="book.filesystem.html">Filesystem</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="filesystem.constants" class="appendix">
 <h1>Predefined Constants</h1>

 <p class="simpara">
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</p>
 <dl>

  
   <dt id="constant.seek-set">
    <strong><code>SEEK_SET</code></strong>
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.seek-cur">
    <strong><code>SEEK_CUR</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.seek-end">
    <strong><code>SEEK_END</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.lock-sh">
    <strong><code>LOCK_SH</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.lock-ex">
    <strong><code>LOCK_EX</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.lock-un">
    <strong><code>LOCK_UN</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.lock-nb">
    <strong><code>LOCK_NB</code></strong> 
    (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     
    </span>
   </dd>

  
  
   <dt id="constant.glob-brace">
    <strong><code>GLOB_BRACE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.glob-onlydir">
    <strong><code>GLOB_ONLYDIR</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.glob-mark">
    <strong><code>GLOB_MARK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.glob-nosort">
    <strong><code>GLOB_NOSORT</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.glob-nocheck">
    <strong><code>GLOB_NOCHECK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.glob-noescape">
    <strong><code>GLOB_NOESCAPE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.glob-available-flags">
    <strong><code>GLOB_AVAILABLE_FLAGS</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.pathinfo-dirname">
    <strong><code>PATHINFO_DIRNAME</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.pathinfo-basename">
    <strong><code>PATHINFO_BASENAME</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.pathinfo-extension">
    <strong><code>PATHINFO_EXTENSION</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">

    </span>
   </dd>

  
  
   <dt id="constant.pathinfo-filename">
    <strong><code>PATHINFO_FILENAME</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
    Since PHP 5.2.0.
    </span>
   </dd>

  
  
   <dt id="constant.file-use-include-path">
    <strong><code>FILE_USE_INCLUDE_PATH</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Search for <code class="parameter">filename</code> in
     <a href="ini.core.html#ini.include-path" class="link">include_path</a> (since PHP 5).
    </span>
   </dd>

  
  
   <dt id="constant.file-no-default-context">
    <strong><code>FILE_NO_DEFAULT_CONTEXT</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
    </span>
   </dd>

  
  
   <dt id="constant.file-append">
    <strong><code>FILE_APPEND</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Append content to existing file.
    </span>
   </dd>

  
  
   <dt id="constant.file-ignore-new-lines">
    <strong><code>FILE_IGNORE_NEW_LINES</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Strip EOL characters (since PHP 5).
    </span>
   </dd>

  
  
   <dt id="constant.file-skip-empty-lines">
    <strong><code>FILE_SKIP_EMPTY_LINES</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Skip empty lines (since PHP 5).
    </span>
   </dd>

  

  
   <dt id="constant.file-binary">
    <strong><code>FILE_BINARY</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <p class="para">
     Binary mode (since PHP 5.2.7).
     <blockquote class="note"><p><strong class="note">Note</strong>: 
      <p class="para">
       This constant has no effect, and is only available for 
       <em>forward compatibility</em>.
      </p>
     </p></blockquote>
    </p>
   </dd>

  

  
   <dt id="constant.file-text">
    <strong><code>FILE_TEXT</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <p class="para">
     Text mode (since PHP 5.2.7).
     <blockquote class="note"><p><strong class="note">Note</strong>: 
      <p class="para">
       This constant has no effect, and is only available for 
       <em>forward compatibility</em>.
      </p>
     </p></blockquote>
    </p>
   </dd>

  

  
   <dt id="constant.ini-scanner-normal">
    <strong><code>INI_SCANNER_NORMAL</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Normal INI scanner mode (since PHP 5.3).
    </span>
   </dd>

  

  
   <dt id="constant.ini-scanner-raw">
    <strong><code>INI_SCANNER_RAW</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Raw INI scanner mode (since PHP 5.3).
    </span>
   </dd>

  
 
  
   <dt id="constant.ini-scanner-typed">
    <strong><code>INI_SCANNER_TYPED</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Typed INI scanner mode (since PHP 5.6.1).
    </span>
   </dd>

  
 
  
   <dt id="constant.fnm-noescape">
    <strong><code>FNM_NOESCAPE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Disable backslash escaping.
    </span>
   </dd>

  

  
   <dt id="constant.fnm-pathname">
    <strong><code>FNM_PATHNAME</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Slash in string only matches slash in the given pattern.
    </span>
   </dd>

  

  
   <dt id="constant.fnm-period">
    <strong><code>FNM_PERIOD</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Leading period in string must be exactly matched by period in the given pattern.
    </span>
   </dd>

  

  
   <dt id="constant.fnm-casefold">
    <strong><code>FNM_CASEFOLD</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Caseless match. Part of the GNU extension.
    </span>
   </dd>

  

 </dl>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="filesystem.resources.html">Resource Types</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.filesystem.html">Filesystem Functions</a></div>
 <div class="up"><a href="book.filesystem.html">Filesystem</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>