#23081 [NEW]: some functions use FALSE as 0
| From: | bibifoc23 at yahoo dot fr | Date: | Mon, 07 Apr 2003 09:36:32 +0000 |
| Subject: | #23081 [NEW]: some functions use FALSE as 0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37248@lists.php.net to get a copy of this message | ||
From: bibifoc23 at yahoo dot fr
Operating system: all
PHP version: 4CVS-2003-04-07 (stable)
PHP Bug Type: Unknown/Other Function
Bug description: some functions use FALSE as 0
some functions (like socket_lasterror and ldap_err2str ) converte bool
FALSE as int.
So socket_strerror ( FALSE ) display Success, or i think if the error code
is FALSe, there is a problem.
--
Edit bug report at http://bugs.php.net/?id=23081&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23081&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23081&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23081&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23081&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23081&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23081&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23081&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23081&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23081&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23081&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23081&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23081&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23081&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23081&r=gnused