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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

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: Fri Dec 27 02:01:29 2024 UTC