[doc-en] master: Update fopen.xml for 'n' flag (#2718)

From: Date: Mon, 13 Oct 2025 08:01:38 +0000
Subject: [doc-en] master: Update fopen.xml for 'n' flag (#2718)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-22800@lists.php.net to get a copy of this message
Author: Eddie Kohler (kohler) Committer: GitHub (web-flow) Pusher: bukka Date: 2025-10-13T10:01:35+02:00 Commit: https://github.com/php/doc-en/commit/18bac8389b98d513c89e965000086acfcdfdd0a9 Raw diff: https://github.com/php/doc-en/commit/18bac8389b98d513c89e965000086acfcdfdd0a9.diff Update fopen.xml for 'n' flag (#2718) PHP has supported fopen with 'n' since 2013. Document this. Changed paths: M reference/filesystem/functions/fopen.xml Diff: diff --git a/reference/filesystem/functions/fopen.xml b/reference/filesystem/functions/fopen.xml index 18b58b90e1ee..66d3b91e4657 100644 --- a/reference/filesystem/functions/fopen.xml +++ b/reference/filesystem/functions/fopen.xml @@ -190,7 +190,14 @@ $handle = fopen("c:\\folder\\resource.txt", "r"); <entry><literal>'e'</literal></entry> <entry> Set close-on-exec flag on the opened file descriptor. Only - available in PHP compiled on POSIX.1-2008 conform systems. + available in PHP compiled on POSIX.1-2008 conformant systems. + </entry> + </row> + <row> + <entry><literal>'n'</literal></entry> + <entry> + Set non-blocking flag on the opened file descriptor. Only + available in PHP compiled on POSIX.1-2008 conformant systems. </entry> </row> </tbody>

« previous php.doc.cvs (#22800) next »