XSLTProcessor->hasExsltSupport()

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

Descrição

class XSLTProcessor {

bool hasExsltSupport ( void )

}

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

Valores Retornados

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Exemplos

Exemplo 1. Testing EXSLT support

<?php

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

// do EXSLT stuff here ..

?>