[doc-en] master: filter/constants.xml: Mention the scientific notation for `float` (#5617)
| From: | Mikhail Alferov via GitHub | Date: | Tue, 16 Jun 2026 17:23:04 +0000 |
| Subject: | [doc-en] master: filter/constants.xml: Mention the scientific notation for `float` (#5617) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23389@lists.php.net to get a copy of this message | ||
Author: Mikhail Alferov (mmalferov)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-06-16T19:23:01+02:00
Commit: https://github.com/php/doc-en/commit/1c5ff30e9ae64bd4fd7ebbd0cccfb1e642e1b02c
Raw diff: https://github.com/php/doc-en/commit/1c5ff30e9ae64bd4fd7ebbd0cccfb1e642e1b02c.diff
filter/constants.xml: Mention the scientific notation for
float (#5617)
Changed paths:
M reference/filter/constants.xml
Diff:
diff --git a/reference/filter/constants.xml b/reference/filter/constants.xml
index 7acb610ab102..9ae0a4d0c1d5 100644
--- a/reference/filter/constants.xml
+++ b/reference/filter/constants.xml
@@ -284,14 +284,14 @@
<listitem>
<simpara>
Returns &true; for <literal>"1"</literal>,
- <literal>1</literal> including binary, octal and hexadecimal notations,
<literal>1.0</literal>,
+ <literal>1</literal> including binary, octal and hexadecimal notations,
<literal>1.0</literal> including scientific notation,
<literal>"true"</literal>, <literal>true</literal>,
<literal>"on"</literal>,
and <literal>"yes"</literal>.
</simpara>
<simpara>
Returns &false; for <literal>"0"</literal>,
- <literal>0</literal> including binary, octal and hexadecimal notations,
<literal>0.0</literal>,
+ <literal>0</literal> including binary, octal and hexadecimal notations,
<literal>0.0</literal> including scientific notation,
<literal>"false"</literal>, <literal>false</literal>,
<literal>"off"</literal>,
<literal>"no"</literal>, and