svn: /phpdoc/en/trunk/ language-snippets.ent
| From: | Justin Martin | Date: | Sat, 21 Jan 2012 22:16:22 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9482@lists.php.net to get a copy of this message | ||
frozenfire Sat, 21 Jan 2012 22:16:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322548
Log:
Generalized &return.falseproblem; to reduce confusion, by removing the examples of which values
evaluate to false. Closes bug #60795.
Bug: https://bugs.php.net/60795 (Open) strpos() paragraph
is misleading
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2012-01-21 22:07:29 UTC (rev 322547)
+++ phpdoc/en/trunk/language-snippets.ent 2012-01-21 22:16:22 UTC (rev 322548)
@@ -342,8 +342,7 @@
<!ENTITY return.falseproblem '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This
function may
return Boolean &false;, but may also return a non-Boolean value which
-evaluates to &false;, such as <literal>0</literal> or
-"". Please read the section on <link
+evaluates to &false;. Please read the section on <link
linkend="language.types.boolean">Booleans</link> for more
information. Use <link linkend="language.operators.comparison">the ===
operator</link> for testing the return value of this