svn: /phpdoc/en/trunk/reference/var/functions/ is-numeric.xml
| From: | Christoph Michael Becker | Date: | Fri, 22 Jul 2016 16:26:35 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/var/functions/ is-numeric.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14350@lists.php.net to get a copy of this message | ||
cmb Fri, 22 Jul 2016 16:26:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339702
Log:
is_numeric() accepts strings in octal notation
Albeit these are not recognized as octal, what does not matter for
is_numeric(), though.
Changed paths:
U phpdoc/en/trunk/reference/var/functions/is-numeric.xml
Modified: phpdoc/en/trunk/reference/var/functions/is-numeric.xml
===================================================================
--- phpdoc/en/trunk/reference/var/functions/is-numeric.xml 2016-07-22 16:13:38 UTC (rev 339701)
+++ phpdoc/en/trunk/reference/var/functions/is-numeric.xml 2016-07-22 16:26:35 UTC (rev 339702)
@@ -18,8 +18,8 @@
Finds whether the given variable is numeric. Numeric strings consist of optional
sign, any number of digits, optional decimal part and optional exponential part.
Thus <literal>+0123.45e6</literal> is a valid numeric value. Hexadecimal (e.g.
- <literal>0xf4c3b00c</literal>), Binary (e.g.
<literal>0b10100111001</literal>),
- Octal (e.g. <literal>0777</literal>) notation is not allowed.
+ <literal>0xf4c3b00c</literal>) and binary (e.g.
<literal>0b10100111001</literal>)
+ notation is not allowed.
</para>
</refsect1>