Php: check if function exists - bool function_exists ( string $function_name )

Trabla: check if function exists in php

Solving:

bool function_exists ( string $function_name )


 if ( function_exists( 'sqlite_open' ) ) {
      echo 'sqlite_open NOT exists';
}else{
      echo 'sqlite_open  exists. Hooray!!! ';
}

No comments:

Post a Comment