note 92425 deleted from function.is-numeric by crell

From: Date: Mon, 18 Apr 2022 14:56:22 +0000
Subject: note 92425 deleted from function.is-numeric by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218278@lists.php.net to get a copy of this message
Note Submitter: Kiam ---- empty(trim($test, '+-.,0123456789')) doesn't assure you $test contains a number. It returns TRUE also for a string containing ".+1234.56", which is not a valid number.

« previous php.notes (#218278) next »