1 개요[ | ]
- PHP get_class()
- 주어진 객체의 클래스명을 반환하는 PHP 함수
PHP
Copy
class Foo {}
$a = new Foo();
echo get_class($a); # Foo
Loading
2 같이 보기[ | ]
- PHP gettype() - Get the type of a variable
- PHP is_subclass_of() - Checks if the object has this class as one of its parents or implements it
- PHP get_called_class() - The "Late Static Binding" class name
- PHP get_parent_class() - Retrieves the parent class name for object or class
- PHP get_class_methods()
- 함수 get_class()
3 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.