From: [EMAIL PROTECTED] Operating system: All PHP version: 4.1.0 PHP Bug Type: Documentation problem Bug description: Documentation for gettype() is incorrect
The PHP manual, on php.net, page for gettype() states that gettype() returns the string "null" if the argument is NULL, this is wrong. gettype() returnes "NULL", thus making any code that checks if the return value is "null" evaluate to FALSE. -- Edit bug report at http://bugs.php.net/?id=15541&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15541&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15541&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15541&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15541&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15541&r=support Expected behavior: http://bugs.php.net/fix.php?id=15541&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15541&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15541&r=submittedtwice
