note 42006 modified in function.ctype-space by hholzgra
| From: | hholzgra@php.net | Date: | Mon, 24 Jan 2005 00:20:36 +0000 |
| Subject: | note 42006 modified in function.ctype-space by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83850@lists.php.net to get a copy of this message | ||
ctype_space returns TRUE for a zero-length string. This makes it very handy for checking for empty
submissions when browsers often return extraneous whitespace in empty-looking TEXTAREA controls.
(see also http://bugs.php.net/30945)
--was--
ctype_space returns TRUE for a zero-length string. This makes it very handy for checking for empty
submissions when browsers often return extraneous whitespace in empty-looking TEXTAREA controls.
http://php.net/manual/en/function.ctype-space.php