Name
get_parent_class
Synopsis
string get_parent_class(mixed object
)
Returns the name of the parent class for the given
object
. If the object does not inherit from
another class, returns an empty string.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.