-
SitePoint Enthusiast
getClass() ?? like Java
Does php have anything like Java's getClass() method which returns the runtime class of an object.
Last edited by the-webber; Apr 13, 2009 at 18:06.
Reason: spelling
-
¬.¬ shoooo...
You mean the name of the class or that instance of an object?
get_class()
Logic without the fatal effects.
All code snippets are licensed under WTFPL.
-
SitePoint Enthusiast
get_class() is exactly what I wanted! thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks