Bug #758: 3th optional argument for strpos (offset where to start searching)

From: Date: Fri, 18 Sep 1998 14:56:21 +0000
Subject: Bug #758: 3th optional argument for strpos (offset where to start searching)
Groups: php.dev 
Request: Send a blank email to php-dev+get-1231@lists.php.net to get a copy of this message
From: thies@digicol.de Operating system: all PHP version: 3.0 Latest CVS PHP Bug Type: Feature/Change Request Bug description: i need to convert "normal-quotes" to „smart-quotes" in some text-files that i display via php3. i'd love to have an optional 3th parameter to strpos which gives it an offset where to start searching - that way i can find the 1st match of a character change it and then strpos from there to the next occurance. if i have to "loop" over the text using a php for loop it is very slow..... i'v created a patch that implements this, please mail me if you're interested. tc -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1231) next »