note 68665 added to function.mb-strpos

From: Date: Sun, 06 Aug 2006 00:12:41 +0000
Subject: note 68665 added to function.mb-strpos
Groups: php.notes 
Request: Send a blank email to php-notes+get-115577@lists.php.net to get a copy of this message
sorry, my previous post had an error. replace the 1000 with strlen($haystack) to handle strings longer than 1000 chars. btw. This is an issue with the mbstring functions. you can't specify the $encoding without specifying a $length, thus this reduces the functionality of mb_substr compared to substr ---- Server IP: 83.138.144.80 Probable Submitter: 86.137.112.171 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.mb-strpos.php Edit -- https://master.php.net/note/edit/68665 Del: integrated -- https://master.php.net/note/delete/68665/integrated Del: useless -- https://master.php.net/note/delete/68665/useless Del: bad code -- https://master.php.net/note/delete/68665/bad+code Del: spam -- https://master.php.net/note/delete/68665/spam Del: non-english -- https://master.php.net/note/delete/68665/non-english Del: in docs -- https://master.php.net/note/delete/68665/in+docs Del: other reasons-- https://master.php.net/note/delete/68665 Reject -- https://master.php.net/note/reject/68665 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115577) next »