PHP: Predefined Classes - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Предопределенные константы Predefined Variables

Last updated: Sat, 27 Jan 2007

view this page in

# Predefined Classes

This section lists standard predefined classes. Miscellaneous extensions define other classes which are described in their reference.

## Standard Defined Classes

These classes are defined in the standard set of functions included in the PHP build.

Directory

  The class from which dir is instantiated.

stdClass

__PHP_Incomplete_Class

## Predefined classes as of PHP 5

These additional predefined classes were introduced in PHP 5.0.0

exception

php_user_filter

add a note User Contributed Notes
Predefined Classes
Typer85 at gmail dot com
17-Feb-2007 08:58
`In response to the note below mine,
This list is not incomplete. Read the Manual folks, its listed there plain and simple:
"This section lists standard predefined classes. Miscellaneous extensions define other classes which are described in their reference."
Depending on what extensions you have, they might define their own classes. This list is just the standard classes as defined by PHP with no regards to extensions.`
Simon Kissane
14-Sep-2004 12:54
`The above list is incomplete. For example, on my PHP 5.0 configuration (yours may differ depending on the extensions you choose to install), the following classes are predefined:
== "Core" ==
stdClass
Exception
__PHP_Incomplete_Class
php_user_filter
Directory
== Reflection API ==
ReflectionException
Reflection
ReflectionFunction
ReflectionParameter
ReflectionMethod
ReflectionClass
ReflectionObject
ReflectionProperty
ReflectionExtension
== SQLLite ==
SQLiteDatabase
SQLiteResult
SQLiteUnbuffered
SQLiteException
== Standard PHP Lib. ==
RecursiveIteratorIterator
FilterIterator
ParentIterator
LimitIterator
CachingIterator
CachingRecursiveIterator
ArrayObject
ArrayIterator
DirectoryIterator
RecursiveDirectoryIterator
== SimpleXML ==
SimpleXMLElement
SimpleXMLIterator
== DOM/XSL/XPath extensions ==
DOMException
DOMStringList
DOMNameList
DOMImplementationList
DOMImplementationSource
DOMImplementation
DOMNode
DOMNameSpaceNode
DOMDocumentFragment
DOMDocument
DOMNodeList
DOMNamedNodeMap
DOMCharacterData
DOMAttr
DOMElement
DOMText
DOMComment
DOMTypeinfo
DOMUserDataHandler
DOMDomError
DOMErrorHandler
DOMLocator
DOMConfiguration
DOMCdataSection
DOMDocumentType
DOMNotation
DOMEntity
DOMEntityReference
DOMProcessingInstruction
DOMStringExtend
DOMXPath
XSLTProcessor`
unknown
23-Jul-2002 10:29
`It's handy to have a array of the reserved classes.....
var_dump (get_declared_classes ());`
add a note
Предопределенные константы Predefined Variables

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST