php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #62963 Invalid description of return values in function strcasecmp (allways 0)
Submitted: 2012-08-29 09:11 UTC Modified: 2012-08-29 09:15 UTC
From: srobowak at azet dot sk Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: srobowak at azet dot sk
New email:
PHP Version: OS:

 

 [2012-08-29 09:11 UTC] srobowak at azet dot sk
Description:
------------
---
From manual page: http://www.php.net/function.strcasecmp#refsect1-
function.strcasecmp-returnvalues
---



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-29 09:15 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 [2012-08-29 09:15 UTC] aharvey@php.net
No, the documentation is correct: strcasecmp() will return an integer, and that integer will only be 0 if the input strings are case-insensitively equal.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 21:01:29 2024 UTC