Fix #79993: SplFileObject::flock has LOCK_NB as a valid operation

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350338 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-08-18 23:26:40 +00:00
parent f54ddda1f2
commit 5236d760ce
2 changed files with 7 additions and 7 deletions

View file

@ -67,8 +67,8 @@
</para>
<para>
It is also possible to add <constant>LOCK_NB</constant> as a bitmask to one
of the above operations if you don't want <function>flock</function> to
block while locking.
of the above operations, if <function>flock</function> should not
block during the locking attempt.
</para>
</listitem>
</varlistentry>

View file

@ -44,13 +44,13 @@
<constant>LOCK_UN</constant> to release a lock (shared or exclusive).
</simpara>
</listitem>
<listitem>
<simpara>
<constant>LOCK_NB</constant> to not block while locking.
</simpara>
</listitem>
</itemizedlist>
</para>
<para>
It is also possible to add <constant>LOCK_NB</constant> as a bitmask to one
of the above operations, if <function>flock</function> should not
block during the locking attempt.
</para>
</listitem>
</varlistentry>
<varlistentry>