From:             [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to