php check if class exists in folder code example Example: php check if class exists if(class_exists('dbinfo')){