how container check if class is already php code example Example: php check if class exists if(class_exists('dbinfo')){