note 101766 deleted from function.is-numeric by crell

From: Date: Mon, 18 Apr 2022 15:00:26 +0000
Subject: note 101766 deleted from function.is-numeric by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218292@lists.php.net to get a copy of this message
Note Submitter: Martyn Ranyard ---- The documentation does not clarify what happens if you the input is an empty string - it correctly returns false in my experience. Useful to state these odd cases, for when you see code that checks for an empty string and is_numeric, you can tell it's a waste of a comparison.

« previous php.notes (#218292) next »