<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.vartype.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'book.classobj.php',
    1 => 'Classes/Objects',
    2 => 'Class/Object Information',
  ),
  'up' => 
  array (
    0 => 'refs.basic.vartype.php',
    1 => 'Variable and Type Related Extensions',
  ),
  'prev' => 
  array (
    0 => 'function.usort.php',
    1 => 'usort',
  ),
  'next' => 
  array (
    0 => 'classobj.examples.php',
    1 => 'Examples',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/classobj/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.classobj.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.classobj" class="book">
 
 <h1 class="title">Class/Object Information</h1>
 

 <div id="intro.classobj" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="para">
   These functions allow you to obtain information about classes
   and instance objects. You can obtain the name of the class to
   which an object belongs, as well as its member properties and
   methods. Using these functions, you can find out not only the
   class membership of an object, but also its parentage (i.e.
   what class is the object class extending).
  </p>
  <p class="para">
   Please see the <a href="language.types.object.php" class="link">Objects</a>
   section of the manual for a detailed explanation of how classes and
   objects are implemented and used in PHP.
  </p>
 </div>

 






 








<ul class="chunklist chunklist_book"><li><a href="classobj.examples.php">Examples</a></li><li><a href="ref.classobj.php">Classes/Object Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.autoload.php">__autoload</a> — Attempt to load undefined class</li><li><a href="function.class-alias.php">class_alias</a> — Creates an alias for a class</li><li><a href="function.class-exists.php">class_exists</a> — Checks if the class has been defined</li><li><a href="function.enum-exists.php">enum_exists</a> — Checks if the enum has been defined</li><li><a href="function.get-called-class.php">get_called_class</a> — The &quot;Late Static Binding&quot; class name</li><li><a href="function.get-class.php">get_class</a> — Returns the name of the class of an object</li><li><a href="function.get-class-methods.php">get_class_methods</a> — Gets the class methods' names</li><li><a href="function.get-class-vars.php">get_class_vars</a> — Get the default properties of the class</li><li><a href="function.get-declared-classes.php">get_declared_classes</a> — Returns an array with the name of the defined classes</li><li><a href="function.get-declared-interfaces.php">get_declared_interfaces</a> — Returns an array of all declared interfaces</li><li><a href="function.get-declared-traits.php">get_declared_traits</a> — Returns an array of all declared traits</li><li><a href="function.get-mangled-object-vars.php">get_mangled_object_vars</a> — Returns an array of mangled object properties</li><li><a href="function.get-object-vars.php">get_object_vars</a> — Gets the properties of the given object</li><li><a href="function.get-parent-class.php">get_parent_class</a> — Retrieves the parent class name for object or class</li><li><a href="function.interface-exists.php">interface_exists</a> — Checks if the interface has been defined</li><li><a href="function.is-a.php">is_a</a> — Checks whether the object is of a given type or subtype</li><li><a href="function.is-subclass-of.php">is_subclass_of</a> — Checks if the object has this class as one of its parents or implements it</li><li><a href="function.method-exists.php">method_exists</a> — Checks if the class method exists</li><li><a href="function.property-exists.php">property_exists</a> — Checks if the object or class has a property</li><li><a href="function.trait-exists.php">trait_exists</a> — Checks if the trait exists</li></ul></li></ul></div><?php manual_footer($setup); ?>