|  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
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: None
 [2005-01-14 23:12 UTC] psychosos at gmx dot at
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-12 17:51 UTC]
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
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! :)

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 09:01:28 2024 UTC