php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #33506 iconv_substr_count
Submitted: 2005-06-29 13:42 UTC Modified: 2016-12-30 22:56 UTC
From: markus dot lervik at necora dot fi Assigned:
Status: Open Package: ICONV related
PHP Version: 5.1.0b2 OS: Irrelevant
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-06-29 13:42 UTC] markus dot lervik at necora dot fi
Description:
------------
It would be very nice to have an iconv_substr_count -function too, as we have iconv_substr, iconv_strlen, iconv_strpos and iconv_strrpos. 
Naturally you can (and I have) write a recursive PHP function that handles it, but I'm assuming it'd be a lot more efficent if written in C.

I did attempt writing it myself, but unfortunately my C and the PHP API -knowledge is more than limited :(


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 22:56 UTC] cmb@php.net
-Package: Feature/Change Request +Package: ICONV related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu May 23 09:01:32 2019 UTC