php8.5
Home/ Manual/ xsl / xsltprocessor/ XSLTProcessor::hasExsltSupport

XSLTProcessor::hasExsltSupport

PHP function Edit on GitHub ✎

(PHP 5 >= 5.0.4, PHP 7, PHP 8)

Determine if PHP has EXSLT support

Description

XSLTProcessor::hasExsltSupport(): bool

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

Parameters Parameters

Return Values

Success

Examples

Testing EXSLT support

php
<?php

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

// do EXSLT stuff here ..

?>

Source: reference/xsl/xsltprocessor/hasexsltsupport.xml · from the official PHP manual (php/doc-en)