note 89037 deleted from function.strcmp by danbrown

From: Date: Wed, 18 Feb 2009 23:45:38 +0000
Subject: note 89037 deleted from function.strcmp by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150833@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- If $str1 == $str2 strcmp return 0. If $str1 > $str2 strcmp return 1. If $str1 < $str2 strcmp return -1., so <?php $t = $strcmp((double)'3',(double)'2147483647'); var_dump($t); // Result: int(1), Why ??? ?> does this function really a binary safe string comparison ??

« previous php.notes (#150833) next »