Date: 08/31/01
- Next message: Zeev Suraski: "Re: [PHP-DEV] emalloc_rel()"
- Previous message: Shao Zhang: "[PHP-DEV] php extension question"
- Next in thread: cynic <email protected>: "[PHP-DEV] Bug #13073 Updated: empty() returns wrong value"
- Reply: cynic <email protected>: "[PHP-DEV] Bug #13073 Updated: empty() returns wrong value"
- Reply: jeroen <email protected>: "[PHP-DEV] Bug #13073 Updated: empty() returns wrong value"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: carsten.senf <email protected>
Operating system: Linux, Windows2000
PHP version: 4.0.6
PHP Bug Type: Variables related
Bug description: empty() returns wrong value
Hi,
the value of iid comes from the URL-request-string. I.e. &iid=0
If I test of the emptyness of $iid, empty($iid) returns FALSE, but $iid is
not empty.
if (empty($iid)) {
$iid = '5.1';
}
The test "if ($iid == '') returns the right value.
regards,
Carsten
-- Edit bug report at: http://bugs.php.net/?id=13073&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "Re: [PHP-DEV] emalloc_rel()"
- Previous message: Shao Zhang: "[PHP-DEV] php extension question"
- Next in thread: cynic <email protected>: "[PHP-DEV] Bug #13073 Updated: empty() returns wrong value"
- Reply: cynic <email protected>: "[PHP-DEV] Bug #13073 Updated: empty() returns wrong value"
- Reply: jeroen <email protected>: "[PHP-DEV] Bug #13073 Updated: empty() returns wrong value"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

