Doc #54320 [Opn->Bgs]: Just a bug in example
| From: | aharvey@php.net | Date: | Mon, 21 Mar 2011 03:51:24 +0000 |
| Subject: | Doc #54320 [Opn->Bgs]: Just a bug in example | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6107@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54320&edit=1
ID: 54320
Updated by: aharvey@php.net
Reported by: zenisti at daug dot net
Summary: Just a bug in example
-Status: Open
+Status: Bogus
Type: Documentation Problem
Package: hash related
Operating System: Windows XP Pro SP3
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
That's the strict equality operator. The example is valid.
Previous Comments:
------------------------------------------------------------------------
[2011-03-20 08:39:36] zenisti at daug dot net
Description:
------------
---
From manual page: http://www.php.net/function.md5#Examples
---
In your md5 example equal to -operator is "===". In PHP standard equal
to -operator is "==".
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54320&edit=1