mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
is_numeric() accepts leading whitespace
Cf. bug #67719. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349477 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0ca029646c
commit
bb2cebd575
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
</methodsynopsis>
|
||||
<para>
|
||||
Finds whether the given variable is numeric. Numeric strings consist of optional
|
||||
whitespace, 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>) and binary (e.g. <literal>0b10100111001</literal>)
|
||||
|
|
Loading…
Reference in a new issue