XSLTProcessor::hasExsltSupport

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

XSLTProcessor::hasExsltSupportPrüft, ob die EXSLT-Unterstützung aktiviert ist

Beschreibung

public XSLTProcessor::hasExsltSupport ( ) : bool

Diese Methode ermittelt, ob PHP mit Unterstützung für die » EXSLT-Bibliothek kompiliert wurde.

Rückgabewerte

Gibt bei Erfolg true zurück. Im Fehlerfall wird false zurückgegeben.

Beispiele

Beispiel #1 Prüfen auf EXSLT-Unterstützung

<?php

$proc 
= new XSLTProcessor;
if (!
$proc->hasExsltSupport()) {
    die(
'EXSLT nicht verfügbar');
}

// Weitere Verarbeitung ..

?>

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top