get_parent_class

PHP 4, PHP 5, PHP 7, PHP 8
get_parent_class - Retrieves the parent class name for object or class
Manual
Code Examples

Example #1 Using get_parent_class

Result: I'm Dad's son I'm Dad's son too
PHP Version:


Function get_parent_class:

Class/Object Information Functions

Most used PHP functions