note 51489 added to function.strpos

From: Date: Fri, 01 Apr 2005 08:37:42 +0000
Subject: note 51489 added to function.strpos
Groups: php.notes 
Request: Send a blank email to php-notes+get-87301@lists.php.net to get a copy of this message
You can easily skip these two meaningless comment lines in my last function.These comments are for old version of the function, I was not using length of needle in that version. Code is fine itself, I suppose ;) <? ... //start $pos from -1, cause we are adding 1 into it while searchig //so the very first iteration will be 0 ... ?> ---- Manual Page -- http://www.php.net/manual/en/function.strpos.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51489 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51489&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51489&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51489&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51489&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51489&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51489&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#87301) next »