note 103101 added to function.bccomp

From: Date: Fri, 25 Mar 2011 16:20:02 +0000
Subject: note 103101 added to function.bccomp
Groups: php.notes 
Request: Send a blank email to php-notes+get-178210@lists.php.net to get a copy of this message
About the -0/+0 compare, the "issue" seems fixed in the versions I tested : PHP Version 5.2.6-2ubuntu4.6 & PHP Version 5.3.1 XPsp3 <?php echo bccomp('-0', '0'); // (int) 0 echo bccomp('0', '-0'); // (int) 0 echo bccomp('-0', '+0'); // (int) 0 echo bccomp('+0', '-0'); // (int) 0 echo bccomp('+0', '0'); // (int) 0 echo bccomp('0', '+0'); // (int) 0 ?> ---- Server IP: 69.147.83.197 Probable Submitter: 78.226.240.47 ---- Manual Page -- http://www.php.net/manual/en/function.bccomp.php Edit -- https://master.php.net/note/edit/103101 Del: integrated -- https://master.php.net/note/delete/103101/integrated Del: useless -- https://master.php.net/note/delete/103101/useless Del: bad code -- https://master.php.net/note/delete/103101/bad+code Del: spam -- https://master.php.net/note/delete/103101/spam Del: non-english -- https://master.php.net/note/delete/103101/non-english Del: in docs -- https://master.php.net/note/delete/103101/in+docs Del: other reasons-- https://master.php.net/note/delete/103101 Reject -- https://master.php.net/note/reject/103101 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178210) next »