XSLTProcessor->hasExsltSupport()

XSLTProcessor->hasExsltSupport() -- Determine if PHP has EXSLT support

Leírás

class XSLTProcessor {

bool hasExsltSupport ( void )

}

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

Visszatérési értékek

Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.

Példák

Példa 1. Testing EXSLT support

<?php

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

// do EXSLT stuff here ..

?>