php: heck if class exists

Trabla: check if class exists in php

Solving:

bool class_exists ( string $class_name )


 if ( class_exists( 'SQLite3' ) ) {
      echo 'SQLite3 NOT exists';
}else{
      echo 'SQLite3  exists. Hooray!!! ';
}

No comments:

Post a Comment