#50127 [Opn]: gettype should refer to get_class in see also
| From: | erwin at burorader dot com | Date: | Mon, 09 Nov 2009 15:30:54 +0000 |
| Subject: | #50127 [Opn]: gettype should refer to get_class in see also | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3083@lists.php.net to get a copy of this message | ||
ID: 50127
User updated by: erwin at burorader dot com
-Summary: gettype should refer to geT_class in see also
Reported By: erwin at burorader dot com
Status: Open
Bug Type: Documentation problem
Operating System: all
PHP Version: Irrelevant
New Comment:
changed summary
Previous Comments:
------------------------------------------------------------------------
[2009-11-09 15:29:02] erwin at burorader dot com
Description:
------------
I had quite a hard time finding the function to return the type of an
object. As I have always worked with strictly typed OO programming
languages, the get_class does what I would expect from gettype, so a
reference to it in the see also section would have saved me a lot of
time.
Reproduce code:
---------------
---
From manual page: function.gettype#See Also
---
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50127&edit=1