mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix doc bug #53046 (doc error) by adding an Errors/Exception section to all the
functions that call stat() internally. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304365 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c6a4461521
commit
4c39c0fb73
16 changed files with 112 additions and 0 deletions
|
@ -88,6 +88,13 @@ if (file_exists($filename)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -64,6 +64,13 @@ if (file_exists($filename)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
|
|
|
@ -64,6 +64,13 @@ if (file_exists($filename)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
|
|
|
@ -59,6 +59,13 @@ if (getmyinode() == fileinode($filename)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -64,6 +64,13 @@ if (file_exists($filename)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.filesystem-time-res;
|
||||
|
|
|
@ -59,6 +59,13 @@ print_r(posix_getpwuid(fileowner($filename)));
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -129,6 +129,13 @@ echo $info;
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -70,6 +70,13 @@ echo $filename . ': ' . filesize($filename) . ' bytes';
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -65,6 +65,13 @@ echo filetype('/etc/'); // dir
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -73,6 +73,13 @@ bool(true)
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -90,6 +90,13 @@ if (is_executable($file)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -65,6 +65,13 @@ bool(false)
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -63,6 +63,13 @@ if (is_link($link)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
|
@ -62,6 +62,13 @@ if (is_readable($filename)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<para>
|
||||
|
|
|
@ -69,6 +69,13 @@ if (is_writable($filename)) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
|
||||
|
|
|
@ -83,6 +83,13 @@ Array
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Upon failure, an <constant>E_WARNING</constant> is emitted.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
¬e.clearstatcache;
|
||||
|
|
Loading…
Reference in a new issue