Goldenweb.it homepage

ANNUNCI | DIRECTORY | FONTS | ICONE | NEWSGROUPS | TOP25 | WALLPAPERS

English version  

Cartomanzia New Star Torino
Percepirà la Verità prima che essa avvenga è il principio base della nostra Cartomanzia. Questo metodo ci permette di apportare svariati benefici nella qualità della vita di molte persone. Lo Staff New Star Fire è composto da Cartomanti Certificate
ArkesTelecom
Telecomunicazioni e Sicurezza. Sistemi innovativi. ArkVision, la sicurezza reale

GoldenWeb.it Directory "Premium" Links - Il tuo link qui...



function_exists

(PHP 3>= 3.0.7, PHP 4 , PHP 5)

function_exists --  Return TRUE if the given function has been defined

Description

bool function_exists ( string function_name)

Checks the list of defined functions, both built-in (internal) and user-defined, for function_name. Restituisce TRUE in caso di successo, FALSE in caso di fallimento.

<?php
if (function_exists('imap_open')) {
    echo
"IMAP functions are available.<br />\n";
} else {
    echo
"IMAP functions are not available.<br />\n";
}
?>

Note that a function name may exist even if the function itself is unusable due to configuration or compiling options (with the image functions being an example). Also note that function_exists() will return FALSE for constructs, such as include_once() and echo().

See also method_exists() and get_defined_functions().