array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'xsltprocessor.hasexsltsupport.php', 1 => 'XSLTProcessor::hasExsltSupport', ), 'up' => array ( 0 => 'class.xsltprocessor.php', 1 => 'XSLTProcessor', ), 'prev' => array ( 0 => 'xsltprocessor.getsecurityprefs.php', 1 => 'XSLTProcessor::getSecurityPrefs', ), 'next' => array ( 0 => 'xsltprocessor.importstylesheet.php', 1 => 'XSLTProcessor::importStylesheet', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/xsl/xsltprocessor/hasexsltsupport.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.0.4, PHP 7, PHP 8)
XSLTProcessor::hasExsltSupport — Determine if PHP has EXSLT support
This method determines if PHP was built with the » EXSLT library.
此函数没有参数。
示例 #1 Testing EXSLT support
<?php
$proc = new XSLTProcessor;
if (!$proc->hasExsltSupport()) {
die('EXSLT support not available');
}
// do EXSLT stuff here ..
?>