note 81261 added to function.strpos

From: Date: Wed, 20 Feb 2008 15:08:19 +0000
Subject: note 81261 added to function.strpos
Groups: php.notes 
Request: Send a blank email to php-notes+get-136313@lists.php.net to get a copy of this message
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! ---- Server IP: 83.137.20.135 Probable Submitter: 62.234.63.246 ---- Manual Page -- http://www.php.net/manual/en/function.strpos.php Edit -- https://master.php.net/note/edit/81261 Del: integrated -- https://master.php.net/note/delete/81261/integrated Del: useless -- https://master.php.net/note/delete/81261/useless Del: bad code -- https://master.php.net/note/delete/81261/bad+code Del: spam -- https://master.php.net/note/delete/81261/spam Del: non-english -- https://master.php.net/note/delete/81261/non-english Del: in docs -- https://master.php.net/note/delete/81261/in+docs Del: other reasons-- https://master.php.net/note/delete/81261 Reject -- https://master.php.net/note/reject/81261 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136313) next »