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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zenisti at daug dot net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 26 15:01:56 2024 UTC