|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13111 compare two string via ==
Submitted: 2001-09-03 12:20 UTC Modified: 2001-09-03 12:36 UTC
From: olivier dot sow at alias dot fr Assigned:
Status: Closed Package: Strings related
PHP Version: 4.0.5 OS: WINDOWS 2000 SERVER
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: olivier dot sow at alias dot fr
New email:
PHP Version: OS:


 [2001-09-03 12:20 UTC] olivier dot sow at alias dot fr
if( '00d000000000000' == '00e000000000000' ) {
	echo "For Mr PhP '00d000000000000' == '00e000000000000' :)<BR>";

try this script ! You will see the problem :)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-03 12:36 UTC]
try using the === operator to avoid type conversion
and you will see the solution
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Oct 04 21:01:25 2023 UTC