note 127989 added to function.is-numeric

From: Date: Wed, 07 Dec 2022 08:44:56 +0000
Subject: note 127989 added to function.is-numeric
Groups: php.notes 
Request: Send a blank email to php-notes+get-219945@lists.php.net to get a copy of this message
Note that is_numeric() will evaluate to false for number strings using decimal commas. is_numeric('0.11'); Output: true is_numeric('0,11'); Output: false ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.161 (proxied: 195.122.17.92) ---- Manual Page -- https://php.net/manual/en/function.is-numeric.php Edit -- https://main.php.net/note/edit/127989 Del: integrated -- https://main.php.net/note/delete/127989/integrated Del: useless -- https://main.php.net/note/delete/127989/useless Del: bad code -- https://main.php.net/note/delete/127989/bad+code Del: spam -- https://main.php.net/note/delete/127989/spam Del: non-english -- https://main.php.net/note/delete/127989/non-english Del: in docs -- https://main.php.net/note/delete/127989/in+docs Del: other reasons-- https://main.php.net/note/delete/127989 Reject -- https://main.php.net/note/reject/127989 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219945) next »