php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16118 Request for new feature: textlen() or textlength()
Submitted: 2002-03-16 16:55 UTC Modified: 2002-04-28 20:21 UTC
From: joho at webbplatsen dot se Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.1.2 OS: All
Private report: No CVE-ID: None
 [2002-03-16 16:55 UTC] joho at webbplatsen dot se
It would be nice with a companion to strlen() that basically first did a strip_tags (all tags) and then a strlen().

Yes, I know I can write this function myself, but the same could be said for many function included in the "core" PHP library.

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-28 20:21 UTC] jimw@php.net
strlen(strip_tags($string))
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 13:01:28 2024 UTC