php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #31560 str_word_count should include opt. argument charlist
Submitted: 2005-01-14 23:12 UTC Modified: 2005-03-12 18:01 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: psychosos at gmx dot at Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.3.8 OS:
Private report: No CVE-ID:
 [2005-01-14 23:12 UTC] psychosos at gmx dot at
Description:
------------
The function str_word_count(), which counts words in a string, should have an optional argument "charlist", just like trim() and similar functions do. This argument would control which characters are separating words within a string.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-12 17:51 UTC] andrey@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2005-03-12 18:01 UTC] psychosos at gmx dot at
Wow! Thank you very much! :)

Regards.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sun Apr 20 15:01:54 2014 UTC