PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<call_user_methodget_class_methods>
Last updated: Mon, 16 Jul 2012

class_exists

(PHP 4, PHP 5)

class_exists -- 检查类是否已定义

描述

bool class_exists ( string class_name )

如果由 class_name 所指的类已经定义,此函数返回 TRUE,否则返回 FALSE

参见 get_declared_classes()




<call_user_methodget_class_methods>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST