Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions language/types/numeric-strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ var_dump("2E1" == "020"); // true, "2E1" is 2 * (10 ^ 1), or 20
If the <type>string</type> is numeric, resolve to an <type>int</type> if
the <type>string</type> is an integer numeric string and fits into the
limits of the <type>int</type> type limits (as defined by
<constant>PHP_INT_MAX</constant>), otherwise resolve to a
<type>float</type>.
<constant>PHP_INT_MIN</constant> and <constant>PHP_INT_MAX</constant>),
otherwise resolve to a <type>float</type>.
</simpara>
</listitem>
<listitem>
Expand All @@ -74,8 +74,8 @@ var_dump("2E1" == "020"); // true, "2E1" is 2 * (10 ^ 1), or 20
is one, resolve to an <type>int</type> if the leading part of the
<type>string</type> is an integer numeric string and fits into the
limits of the <type>int</type> type limits (as defined by
<constant>PHP_INT_MAX</constant>), otherwise resolve to a
<type>float</type>.
<constant>PHP_INT_MIN</constant> and <constant>PHP_INT_MAX</constant>),
otherwise resolve to a <type>float</type>.
Additionally an error of level <constant>E_WARNING</constant> is raised.
</simpara>
</listitem>
Expand Down
Loading