php if class exists return it code example Example: php check if class exists if(class_exists('dbinfo')){