- function_exists: documentation ( source)
<?php
$mbstringFunctions = array(
'mb_check_encoding',
'mb_convert_encoding',
'mb_substitute_char',
);
do {
foreach ( $mbstringFunctions as $func ) {
if ( !function_exists( $func ) ) {
break 2;
}
}
return 1;
} while ( false );
return 0;