From:             [EMAIL PROTECTED]
Operating system: Debian GNU/Linux
PHP version:      4.0.5
PHP Bug Type:     Math related
Bug description:  -0 Returns true as an integer

$number = -0;
        if (is_integer($number) == true) 
                {
    echo "number is an integer";
        }
        else {
            echo "number is not an integer";
        }

/* -0 just generally works as a number it probably shouldn't */ 


-- 
Edit Bug report at: http://bugs.php.net/?id=10715&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