note 64052 deleted from function.ctype-digit by bjori

From: Date: Thu, 06 Apr 2006 16:41:05 +0000
Subject: note 64052 deleted from function.ctype-digit by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107458@lists.php.net to get a copy of this message
Note Submitter: M. Egmond Reason: in docs ---- Beware of using this function on an empty string. It caught me off-guard because in PHP 4.4.0 it returns TRUE on an empty string, while in PHP 4.4.2 it returns FALSE. Since the documentation is not entirely clear on what should happen with an empty string, it's best to check for that case separately yourself.

« previous php.notes (#107458) next »