XSLTProcessor::hasExsltSupport
(PHP 5 >= 5.0.4, PHP 7)
XSLTProcessor :: hasExsltSupport - 确定PHP是否具有EXSLT支持
描述
bool XSLTProcessor::hasExsltSupport ( void )
该方法确定PHP是否使用?EXSLT库构建。
返回值
成功时返回TRUE
或失败时返回FALSE
。
例子
示例#1 测试EXSLT支持
<?php
$proc?=?new?XSLTProcessor;
if?(!$proc->hasExsltSupport())?{
????die('EXSLT?support?not?available');
}
//?do?EXSLT?stuff?here?..
?>
← XsltProcessor::getSecurityPrefs
XSLTProcessor::importStylesheet →
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com