📄 posix.constants.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Predefined Constants</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="posix.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.posix.html">POSIX Functions</a></div> <div class="up"><a href="book.posix.html">POSIX</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1>Predefined Constants</h1> <p class="simpara">The constants below are defined by this extension, andwill only be available when the extension has eitherbeen compiled into PHP or dynamically loaded at runtime.</p> <dl> <dt> <span class="term"> <b><tt>POSIX_F_OK</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> Check whether the file exists. </span> </dd> </dt> <dt> <span class="term"> <b><tt>POSIX_R_OK</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> Check whether the file exists and has read permissions. </span> </dd> </dt> <dt> <span class="term"> <b><tt>POSIX_W_OK</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> Check whether the file exists and has write permissions. </span> </dd> </dt> <dt> <span class="term"> <b><tt>POSIX_X_OK</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> Check whether the file exists and has execute permissions. </span> </dd> </dt> <dt> <span class="term"> <b><tt>POSIX_S_IFBLK</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> Block special file </span> </dd> </dt> <dt> <span class="term"> <b><tt>POSIX_S_IFCHR</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> Character special file </span> </dd> </dt> <dt> <span class="term"> <b><tt>POSIX_S_IFIFO</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> FIFO (named pipe) special file </span> </dd> </dt> <dt> <span class="term"> <b><tt>POSIX_S_IFREG</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> Normal file </span> </dd> </dt> <dt> <span class="term"> <b><tt>POSIX_S_IFSOCK</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> Socket </span> </dd> </dt> </dl> <blockquote><p><b class="note">Note</b>: These constants are available since PHP 5.1.0. Please also note that some of them may not be available in your system. <br /> </p></blockquote></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="posix.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.posix.html">POSIX Functions</a></div> <div class="up"><a href="book.posix.html">POSIX</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -