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.
예약 클래스
이 섹션에서는 예약된 표준 클래스를 나열합니다. 다양한 확장이 정의하는 다른 클래스는 각 레퍼런스에 나와 있습니다.
표준 정의 클래스
이 클래스는 PHP 빌드에 포함되어있는 표준 함수 모음에 선언된다.
- Directory
- dir에서 이 클래스가 나타납니다.
- stdClass
- __PHP_Incomplete_Class
Closure
기선언 최종 클래스 Closure는 PHP 5.3.0에서 나왔습니다. 익명 함수의 내부 구현에 사용됩니다.
이 클래스는 객체의 수동 생성과 호출 마법의 __invoke 메쏘드를 금지합니다. (E_RECOVERABLE_ERROR 발생)
특수 클래스
다음 식별자는 특별한 목적이 있기 때문에 클래스 이름으로 사용할 수 없습니다.
- self
- parent
예약 클래스
Typer85 at gmail dot com
17-Feb-2007 04:58
17-Feb-2007 04:58
Simon Kissane
14-Sep-2004 07:54
14-Sep-2004 07: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 05:29
23-Jul-2002 05:29
It's handy to have a array of the reserved classes.....
var_dump (get_declared_classes ());
