Edit report at https://bugs.php.net/bug.php?id=62253&edit=1
ID: 62253 Updated by: ni...@php.net Reported by: rophp at live dot it Summary: Number check bug -Status: Open +Status: Duplicate Type: Bug Package: *Math Functions Operating System: All PHP Version: Irrilevante Block user comment: N Private report: N New Comment: Duplicate of https://bugs.php.net/bug.php?id=54547. This is not really a bug but the development team decided to change the behavior for PHP 5.4.4. Previous Comments: ------------------------------------------------------------------------ [2012-06-08 13:28:13] Sjon at hortensius dot net You should have a look at bug number #43304 ------------------------------------------------------------------------ [2012-06-07 17:57:56] rophp at live dot it 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62253&edit=1