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
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: joho at webbplatsen dot se
New email:
PHP Version: OS:

 

 [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

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: Wed Sep 11 13:01:28 2024 UTC