|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-02-03 20:57 UTC] jonathan at scriptwriterthingy dot com
Description: ------------ strpbrk() is case sensitive. It would be great to see a case insensitive implementation - stripbrk() PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 10:00:01 2025 UTC |
Simply use this workaround: function stripbrk ($haystack, $charlist) { return strpbrk($haystack, strtolower($charlist).strtoupper($charlist)); }