Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.6

Request #16489 Validate should use mb_strlen
Submitted: 2009-08-03 17:56 UTC
From: adrianlang Assigned: kguest
Status: Closed Package: Validate (version Unknown)
PHP Version: Irrelevant OS: Debian 5.0
Roadmaps: (Not assigned)    
Subscription  


 [2009-08-03 17:56 UTC] adrianlang (Adrian Lang)
Description: ------------ I would like Validate::string to use mb_strlen for min_length and max_length.

Comments

 [2009-08-04 06:01 UTC] doconnor (Daniel O'Connor)
-Type: Bug +Type: Feature/Change Request
 [2021-07-03 19:13 UTC] kguest (Ken Guest)
-Assigned To: +Assigned To: kguest
 [2021-07-03 19:55 UTC] kguest (Ken Guest)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. string method now uses mb_strlen if the mbstring extension is available. it falls back to using standard strlen if not available.