php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15541 Documentation for gettype() is incorrect
Submitted: 2002-02-13 10:08 UTC Modified: 2002-02-13 12:48 UTC
From: marten at ditt dot as Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.1.0 OS: All
Private report: No CVE-ID: None
 [2002-02-13 10:08 UTC] marten at ditt dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-13 12:48 UTC] hholzgra@php.net
changed in CVS
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 23:00:01 2025 UTC