update : 2015.11.03
php.shukuma.com

검색:
 
 
Determine if PHP has EXSLT support

XSLTProcessor::hasExsltSupport

(PHP 5 >= 5.0.4)

XSLTProcessor::hasExsltSupportDetermine if PHP has EXSLT support

설명

bool XSLTProcessor::hasExsltSupport ( void )

This method determines if PHP was built with the » EXSLT library.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

예제

Example #1 Testing EXSLT support

<?php

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

// do EXSLT stuff here ..

?>