Reflection ReflectionExtension::getName
(PHP 5, PHP 7, PHP 8)
ReflectionExtension::getName — 확장명 가져오기
설명
public ReflectionExtension::getName(): string
확장 이름을 가져옵니다.
매개변수
이 함수에는 매개변수가 없습니다.
반환 값
확장 이름입니다.
Examples
예제 #1 ReflectionExtension::getName() 예제
<?php
$ext = new ReflectionExtension('mysqli');
var_dump($ext->getName());
?>
위의 예는 다음과 유사한 결과를 출력합니다.
string(6) "mysqli"
기타
- ReflectionExtension::getClassNames() - 클래스 이름 가져오기