|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #537 Case insensitive string compare
Submitted: 1998-07-11 00:38 UTC Modified: 1998-07-11 08:55 UTC
From: walton at nordicdms dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0 Final Release OS:
Private report: No CVE-ID: None
 [1998-07-11 00:38 UTC] walton at nordicdms dot com
I just noticed that there doesn't appear to be a direct way to do a case-insensitive string compare.  Sure, you can strtoupper() or strtolower() both strings first, but a strcasecmp() or strcmpi() function would be handy.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-11 08:55 UTC] zeev
Added strcasecmp()
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 23 12:01:27 2023 UTC