note 125896 added to function.is-numeric

From: Date: Wed, 10 Mar 2021 13:46:40 +0000
Subject: note 125896 added to function.is-numeric
Groups: php.notes 
Request: Send a blank email to php-notes+get-219224@lists.php.net to get a copy of this message
Notice that not only are leading spaces valid, but pretty much all whitespace characters and any combination thereof seems to be valid. Examples (999 is the actual number), verified in PHP 7.3.x: %09999 - a leading horizontal tabulator followed by the number %20999 - a leading space followed by the number %09%20999 - a leading tab, followed by a space, followed by the number ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.246 (proxied: 5.100.32.246) ---- Manual Page -- http://php.net/manual/en/function.is-numeric.php Edit -- https://master.php.net/note/edit/125896 Del: integrated -- https://master.php.net/note/delete/125896/integrated Del: useless -- https://master.php.net/note/delete/125896/useless Del: bad code -- https://master.php.net/note/delete/125896/bad+code Del: spam -- https://master.php.net/note/delete/125896/spam Del: non-english -- https://master.php.net/note/delete/125896/non-english Del: in docs -- https://master.php.net/note/delete/125896/in+docs Del: other reasons-- https://master.php.net/note/delete/125896 Reject -- https://master.php.net/note/reject/125896 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#219224) next »