php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6737 gettype of 'user function' returns null
Submitted: 2000-09-13 15:55 UTC Modified: 2001-05-11 19:39 UTC
From: ping at alt dot it Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.2 OS: Linux Mandrake 7.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 20 = ?
Subscribe to this entry?

 
 [2000-09-13 15:55 UTC] ping at alt dot it
gettype() on function names returns null

Although undocumented, in version 3 it properly returned 'user function'.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-13 16:17 UTC] joey@php.net
Changing behavior of undocumented features is not a bug, sorry.
 [2000-09-13 16:21 UTC] joey@php.net
Although at second glace, it appears that this
WAS a documented behavior.

That's what I get for not double checking.
 [2000-09-16 18:22 UTC] stas@php.net
dup of #6741
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 16:01:28 2024 UTC