XSLTProcessor::hasExsltSupport

(PHP 5 >= 5.0.4, PHP 7)
Determine if PHP has EXSLT support
bool XSLTProcessor::hasExsltSupport ( void )

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

Returns:

Returns TRUE on success or FALSE on failure.

Examples:
Testing EXSLT support
<?php

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

// do EXSLT stuff here ..

?>

doc_php
2016-02-24 16:15:36
Comments
Leave a Comment

Please login to continue.