[DOC-CVS] [doc-en] master: filter/constants.xml: Mention the scientific notation for `float` (#5617)
[email protected] (Mikhail Alferov via GitHub) Tue, 16 Jun 2026 17:23:04 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
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