XSL XSLTProcessor::hasExsltSupport

(PHP 5 >= 5.0.4, PHP 7, PHP 8)

XSLTProcessor::hasExsltSupport — PHP가 EXSLT를 지원하는지 확인


설명

public XSLTProcessor::hasExsltSupport(): bool

이 메서드는 » EXSLT 라이브러리로 PHP가 빌드되었는지 확인합니다.


매개변수

이 함수에는 매개변수가 없습니다.


반환 값

성공하면 true를, 실패하면 false를 반환합니다.


Examples

예제 #1 Testing EXSLT support

                  
<?php

$proc = new XSLTProcessor;
if (!$proc->hasExsltSupport()) {
    die('EXSLT support not available');
}

// do EXSLT stuff here ..

?>