Bug #15541 Updated: Documentation for gettype() is incorrect

From: Date: Wed, 13 Feb 2002 17:48:16 +0000
Subject: Bug #15541 Updated: Documentation for gettype() is incorrect
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-267@lists.php.net to get a copy of this message
ID: 15541 Updated by: hholzgra@php.net Reported By: marten@ditt.as -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: All PHP Version: 4.1.0 New Comment: changed in CVS Previous Comments: ------------------------------------------------------------------------ [2002-02-13 10:08:59] marten@ditt.as 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 this bug report at http://bugs.php.net/?id=15541&edit=1

« previous php.bugs (#267) next »