Bug #15541: Documentation for gettype() is incorrect

From: Date: Wed, 13 Feb 2002 15:09:00 +0000
Subject: Bug #15541: Documentation for gettype() is incorrect
Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-253@lists.php.net to get a copy of this message
From: marten@ditt.as 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

« previous php.bugs (#253) next »