note 81261 deleted from function.strpos by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 16:30:37 +0000 |
| Subject: | note 81261 deleted from function.strpos by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154837@lists.php.net to get a copy of this message | ||
Note Submitter: loaded67 at hotmail dot com
----
Refereing to my last note.
It wasn't correct! As ctype_digit only evaluates strings.
(string) true / false will still be 0 / 1.
is_int(); is the correct function!