On 2015-05-12 03:56, Yasuo Ohgaki wrote:
 - is_numeric() and numeric type for float like string

FYI, there's ctype_digit($s) and preg_match('/⁠^[0-⁠9]+$/⁠s', $s);
Adding more functions would be only confusing, I think.

--
Lauri Kenttä

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to