From:             [EMAIL PROTECTED]
Operating system: Linux, Windows2000
PHP version:      4.0.6
PHP Bug Type:     Variables related
Bug description:  empty() returns wrong value


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.

Edit bug report at:

PHP Development Mailing List <>
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