|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-08 13:28 UTC] Sjon at hortensius dot net
[2012-06-08 23:44 UTC] nikic@php.net
[2012-06-08 23:44 UTC] nikic@php.net
-Status: Open
+Status: Duplicate
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 23:00:01 2025 UTC |
Description: ------------ Hello, when i go to check if the 2 vars are equals with this return 'equal' also if the end number is different. There is a limit? Test script: --------------- $record['xod']="727202440420867488"; $cookiecodiceconnessione="727202440420867484"; if ($record['xod']==$cookiecodiceconnessione) { echo 'equal'; }else{ echo 'not equal'; } Expected result: ---------------- not equal Actual result: -------------- equal