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: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: psychosos at gmx dot at
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Apr 17 01:01:26 2025 UTC