get_called_class

PHP 5 >= 5.3.0, PHP 7, PHP 8
get_called_class - The "Late Static Binding" class name
Manual
Code Examples

Example #1 Using get_called_class

Result: string(3) "foo" string(3) "bar"
PHP Version:


Function get_called_class:

Class/Object Information Functions

Most used PHP functions