Doc #62963 [Opn->Nab]: Invalid description of return values in function strcasecmp (allways 0)

From: Date: Wed, 29 Aug 2012 09:15:58 +0000
Subject: Doc #62963 [Opn->Nab]: Invalid description of return values in function strcasecmp (allways 0)
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8788@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62963&edit=1 ID: 62963 Updated by: aharvey@php.net Reported by: srobowak at azet dot sk Summary: Invalid description of return values in function strcasecmp (allways 0) -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2012-08-29 09:11:08] srobowak at azet dot sk Description: ------------ --- From manual page: http://www.php.net/function.strcasecmp#refsect1- function.strcasecmp-returnvalues --- ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62963&edit=1

« previous php.doc.bugs (#8788) next »