php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54320 Just a bug in example
Submitted: 2011-03-20 08:39 UTC Modified: 2011-03-21 04:51 UTC
From: zenisti at daug dot net Assigned:
Status: Not a bug Package: hash related
PHP Version: 5.3.6 OS: Windows XP Pro SP3
Private report: No CVE-ID: None
 [2011-03-20 08:39 UTC] 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 "==".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-20 22:59 UTC] felipe@php.net
-Type: Bug +Type: Documentation Problem
 [2011-03-21 04:51 UTC] aharvey@php.net
-Status: Open +Status: Bogus
 [2011-03-21 04:51 UTC] aharvey@php.net
That's the strict equality operator. The example is valid.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 13:01:30 2024 UTC