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
1
2
3
4
5
6
7
8
9
10
<?php
 
$proc new XSLTProcessor;
if (!$proc->hasExsltSupport()) {
    die('EXSLT support not available');
}
 
// do EXSLT stuff here ..
 
?>
doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.