<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.classobj.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'ref.classobj.php',
    1 => '类/对象 函数',
    2 => '类/对象 函数',
  ),
  'up' => 
  array (
    0 => 'book.classobj.php',
    1 => '类/对象',
  ),
  'prev' => 
  array (
    0 => 'classobj.examples.php',
    1 => '示例',
  ),
  'next' => 
  array (
    0 => 'function.autoload.php',
    1 => '__autoload',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/classobj/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.classobj.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ref.classobj" class="reference">
 <h1 class="title">类/对象 函数</h1>

 


















































































































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="function.autoload.php">__autoload</a> — 尝试加载未定义的类</li><li><a href="function.class-alias.php">class_alias</a> — 为类创建别名</li><li><a href="function.class-exists.php">class_exists</a> — 查类是否已经定义</li><li><a href="function.enum-exists.php">enum_exists</a> — 检测是否定义对应的枚举</li><li><a href="function.get-called-class.php">get_called_class</a> — 后期静态绑定（&quot;Late Static Binding&quot;）类的名称</li><li><a href="function.get-class.php">get_class</a> — 返回对象的类名</li><li><a href="function.get-class-methods.php">get_class_methods</a> — 返回由类的方法名组成的数组</li><li><a href="function.get-class-vars.php">get_class_vars</a> — 获取类的默认属性</li><li><a href="function.get-declared-classes.php">get_declared_classes</a> — 返回由已定义类的名字所组成的数组</li><li><a href="function.get-declared-interfaces.php">get_declared_interfaces</a> — 返回一个数组包含所有已声明的接口</li><li><a href="function.get-declared-traits.php">get_declared_traits</a> — 返回所有已定义的 traits 的数组</li><li><a href="function.get-mangled-object-vars.php">get_mangled_object_vars</a> — 返回将对象属性混在一起的数组</li><li><a href="function.get-object-vars.php">get_object_vars</a> — 获取指定对象的属性</li><li><a href="function.get-parent-class.php">get_parent_class</a> — 检索对象或者类的父级类名</li><li><a href="function.interface-exists.php">interface_exists</a> — 检查接口是否已被定义</li><li><a href="function.is-a.php">is_a</a> — 检查对象是否属于一个给定的类型或子类型。</li><li><a href="function.is-subclass-of.php">is_subclass_of</a> — 检查对象是否继承或者实现（implement）此类</li><li><a href="function.method-exists.php">method_exists</a> — 检查类的方法是否存在</li><li><a href="function.property-exists.php">property_exists</a> — 检查对象或类是否具有该属性</li><li><a href="function.trait-exists.php">trait_exists</a> — 检查指定的 trait 是否存在</li></ul>
</div>
<?php manual_footer($setup); ?>