|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-16 15:51 UTC] zyss at mail dot zp dot ua
[2008-12-16 17:41 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Feb 07 02:00:01 2026 UTC |
Description: ------------ is_numeric("1343.32") returns true, but is_numeric("1,343.32") returns false. Since the comma is used just for visual representation, the number represented is still numeric and is_numeric function should return true. Reproduce code: --------------- echo is_numeric("1,343.32"); Expected result: ---------------- true Actual result: -------------- false