php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41482 get_declared_classes() returns non-existing classes
Submitted: 2007-05-24 07:25 UTC Modified: 2007-06-06 01:00 UTC
From: robert at typo3 dot org Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 6CVS-2007-05-24 (snap) OS: Mac OSX
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-05-24 07:25 UTC] robert at typo3 dot org
Description:
------------
A call to get_declared_classes() returns, among the really defined classes, a few class names which look like arbitrary unicode strings. However, at least one of these classes don't exist and class_exists() returns false.

My configure command:

'./configure' '--prefix=/opt/local' '--enable-bcmath' '--enable-calendar' '--enable-dba' '--enable-dbx' '--enable-exif' '--enable-filepro' '--enable-ftp' '--enable-gd-native-ttf' '--enable-soap' '--enable-sqlite-utf8' '--enable-trans-sid' '--enable-wddx' '--infodir=/opt/local/share/info' '--with-apxs2=/opt/local/apache2/bin/apxs' '--with-curl=/opt/local' '--with-freetype-dir=/opt/local' '--with-gettext=/opt/local' '--with-iconv=/opt/local' '--with-icu-dir=/opt/local' '--with-iodbc=/usr' '--with-jpeg-dir=/opt/local' '--with-kerberos=/usr' '--with-ldap=/usr' '--with-libxml-dir=/opt/local' '--with-mcrypt=/opt/local' '--with-openssl=/opt/local' '--with-pcre-regex=/opt/local' '--with-pdo-sqlite=/opt/local' '--with-png-dir=/opt/local' '--with-sqlite' '--with-xmlrpc' '--with-xsl=/opt/local' '--with-zlib=/opt/local' '--without-pear' '--mandir=/opt/local/share/man' '--with-config-file-path=/opt/local/etc' '--with-expat-dir=/opt/local' '--with-mysqli=/opt/local/bin/mysql_config5'

Reproduce code:
---------------
class myClass {
}

var_dump(get_declared_classes());

foreach(get_declared_classes() as $className) {
	if (!class_exists($className)) echo ("$className does not exist.\n");
}


Expected result:
----------------
array(123) {
  [0]=>
  unicode(8) "stdClass"
  [1]=>
  unicode(9) "Exception"
  [2]=>
  unicode(14) "ErrorException"
  [3]=>
  unicode(26) "UnicodeConversionException"
  [4]=>
  unicode(11) "LibXMLError"
  [5]=>
  unicode(13) "XSLTProcessor"
  [6]=>
  unicode(9) "XMLWriter"
  [7]=>
  unicode(12) "DOMException"
  [8]=>
  unicode(13) "DOMStringList"
  [9]=>
  unicode(11) "DOMNameList"
  [10]=>
  unicode(21) "DOMImplementationList"
  [11]=>
  unicode(23) "DOMImplementationSource"
  [12]=>
  unicode(17) "DOMImplementation"
  [13]=>
  unicode(7) "DOMNode"
  [14]=>
  unicode(16) "DOMNameSpaceNode"
  [15]=>
  unicode(19) "DOMDocumentFragment"
  [16]=>
  unicode(11) "DOMDocument"
  [17]=>
  unicode(11) "DOMNodeList"
  [18]=>
  unicode(15) "DOMNamedNodeMap"
  [19]=>
  unicode(16) "DOMCharacterData"
  [20]=>
  unicode(7) "DOMAttr"
  [21]=>
  unicode(10) "DOMElement"
  [22]=>
  unicode(7) "DOMText"
  [23]=>
  unicode(10) "DOMComment"
  [24]=>
  unicode(11) "DOMTypeinfo"
  [25]=>
  unicode(18) "DOMUserDataHandler"
  [26]=>
  unicode(11) "DOMDomError"
  [27]=>
  unicode(15) "DOMErrorHandler"
  [28]=>
  unicode(10) "DOMLocator"
  [29]=>
  unicode(16) "DOMConfiguration"
  [30]=>
  unicode(15) "DOMCdataSection"
  [31]=>
  unicode(15) "DOMDocumentType"
  [32]=>
  unicode(11) "DOMNotation"
  [33]=>
  unicode(9) "DOMEntity"
  [34]=>
  unicode(18) "DOMEntityReference"
  [35]=>
  unicode(24) "DOMProcessingInstruction"
  [36]=>
  unicode(15) "DOMStringExtend"
  [37]=>
  unicode(8) "DOMXPath"
  [38]=>
  unicode(9) "XMLReader"
  [39]=>
  unicode(12) "TextIterator"
  [40]=>
  unicode(19) "ReverseTextIterator"
  [41]=>
  unicode(8) "Collator"
  [42]=>
  unicode(1) "U"
  [43]=>
  unicode(16) "SimpleXMLElement"
  [44]=>
  unicode(25) "RecursiveIteratorIterator"
  [45]=>
  unicode(16) "IteratorIterator"
  [46]=>
  unicode(14) "FilterIterator"
  [47]=>
  unicode(23) "RecursiveFilterIterator"
  [48]=>
  unicode(14) "ParentIterator"
  [49]=>
  unicode(13) "LimitIterator"
  [50]=>
  unicode(15) "CachingIterator"
  [51]=>
  unicode(24) "RecursiveCachingIterator"
  [52]=>
  unicode(16) "NoRewindIterator"
  [53]=>
  unicode(14) "AppendIterator"
  [54]=>
  unicode(16) "InfiniteIterator"
  [55]=>
  unicode(13) "RegexIterator"
  [56]=>
  unicode(22) "RecursiveRegexIterator"
  [57]=>
  unicode(13) "EmptyIterator"
  [58]=>
  unicode(11) "ArrayObject"
  [59]=>
  unicode(13) "ArrayIterator"
  [60]=>
  unicode(22) "RecursiveArrayIterator"
  [61]=>
  unicode(11) "SplFileInfo"
  [62]=>
  unicode(17) "DirectoryIterator"
  [63]=>
  unicode(26) "RecursiveDirectoryIterator"
  [64]=>
  unicode(13) "SplFileObject"
  [65]=>
  unicode(17) "SplTempFileObject"
  [66]=>
  unicode(17) "SimpleXMLIterator"
  [67]=>
  unicode(14) "LogicException"
  [68]=>
  unicode(24) "BadFunctionCallException"
  [69]=>
  unicode(22) "BadMethodCallException"
  [70]=>
  unicode(15) "DomainException"
  [71]=>
  unicode(24) "InvalidArgumentException"
  [72]=>
  unicode(15) "LengthException"
  [73]=>
  unicode(19) "OutOfRangeException"
  [74]=>
  unicode(16) "RuntimeException"
  [75]=>
  unicode(20) "OutOfBoundsException"
  [76]=>
  unicode(17) "OverflowException"
  [77]=>
  unicode(14) "RangeException"
  [78]=>
  unicode(18) "UnderflowException"
  [79]=>
  unicode(24) "UnexpectedValueException"
  [80]=>
  unicode(16) "SplObjectStorage"
  [81]=>
  unicode(12) "PDOException"
  [82]=>
  unicode(3) "PDO"
  [83]=>
  unicode(12) "PDOStatement"
  [84]=>
  unicode(6) "PDORow"
  [85]=>
  unicode(10) "SoapClient"
  [86]=>
  unicode(7) "SoapVar"
  [87]=>
  unicode(10) "SoapServer"
  [88]=>
  unicode(9) "SoapFault"
  [89]=>
  unicode(9) "SoapParam"
  [90]=>
  unicode(10) "SoapHeader"
  [91]=>
  unicode(14) "SQLiteDatabase"
  [92]=>
  unicode(12) "SQLiteResult"
  [93]=>
  unicode(16) "SQLiteUnbuffered"
  [94]=>
  unicode(15) "SQLiteException"
  [95]=>
  unicode(22) "__PHP_Incomplete_Class"
  [96]=>
  unicode(15) "php_user_filter"
  [97]=>
  unicode(9) "Directory"
  [98]=>
  unicode(19) "ReflectionException"
  [99]=>
  unicode(10) "Reflection"
  [100]=>
  unicode(26) "ReflectionFunctionAbstract"
  [101]=>
  unicode(18) "ReflectionFunction"
  [102]=>
  unicode(19) "ReflectionParameter"
  [103]=>
  unicode(16) "ReflectionMethod"
  [104]=>
  unicode(15) "ReflectionClass"
  [105]=>
  unicode(16) "ReflectionObject"
  [106]=>
  unicode(18) "ReflectionProperty"
  [107]=>
  unicode(19) "ReflectionExtension"
  [108]=>
  unicode(20) "mysqli_sql_exception"
  [109]=>
  unicode(13) "mysqli_driver"
  [110]=>
  unicode(6) "mysqli"
  [111]=>
  unicode(14) "mysqli_warning"
  [112]=>
  unicode(13) "mysqli_result"
  [113]=>
  unicode(11) "mysqli_stmt"
  [114]=>
  unicode(8) "DateTime"
  [115]=>
  unicode(12) "DateTimeZone"
  [116]=>
  unicode(4) "慊慶��"
  [117]=>
  unicode(9) "慊慶牁慲y���"
  [118]=>
  unicode(14) "慪慶敟捸灥楴湯�෍ˤ�"
  [119]=>
  unicode(10) "慪慶损慬獳���෍"
  [120]=>
  unicode(9) "慊慶汃獡s���"
  [121]=>
  unicode(13) "慊慶硅散瑰潩n�෍࿠˥
"
  [122]=>
  unicode(7) "myClass"
}
array(123) {
  [0]=>
  unicode(8) "stdClass"
  [1]=>
  unicode(9) "Exception"
  [2]=>
  unicode(14) "ErrorException"
  [3]=>
  unicode(26) "UnicodeConversionException"
  [4]=>
  unicode(11) "LibXMLError"
  [5]=>
  unicode(13) "XSLTProcessor"
  [6]=>
  unicode(9) "XMLWriter"
  [7]=>
  unicode(12) "DOMException"
  [8]=>
  unicode(13) "DOMStringList"
  [9]=>
  unicode(11) "DOMNameList"
  [10]=>
  unicode(21) "DOMImplementationList"
  [11]=>
  unicode(23) "DOMImplementationSource"
  [12]=>
  unicode(17) "DOMImplementation"
  [13]=>
  unicode(7) "DOMNode"
  [14]=>
  unicode(16) "DOMNameSpaceNode"
  [15]=>
  unicode(19) "DOMDocumentFragment"
  [16]=>
  unicode(11) "DOMDocument"
  [17]=>
  unicode(11) "DOMNodeList"
  [18]=>
  unicode(15) "DOMNamedNodeMap"
  [19]=>
  unicode(16) "DOMCharacterData"
  [20]=>
  unicode(7) "DOMAttr"
  [21]=>
  unicode(10) "DOMElement"
  [22]=>
  unicode(7) "DOMText"
  [23]=>
  unicode(10) "DOMComment"
  [24]=>
  unicode(11) "DOMTypeinfo"
  [25]=>
  unicode(18) "DOMUserDataHandler"
  [26]=>
  unicode(11) "DOMDomError"
  [27]=>
  unicode(15) "DOMErrorHandler"
  [28]=>
  unicode(10) "DOMLocator"
  [29]=>
  unicode(16) "DOMConfiguration"
  [30]=>
  unicode(15) "DOMCdataSection"
  [31]=>
  unicode(15) "DOMDocumentType"
  [32]=>
  unicode(11) "DOMNotation"
  [33]=>
  unicode(9) "DOMEntity"
  [34]=>
  unicode(18) "DOMEntityReference"
  [35]=>
  unicode(24) "DOMProcessingInstruction"
  [36]=>
  unicode(15) "DOMStringExtend"
  [37]=>
  unicode(8) "DOMXPath"
  [38]=>
  unicode(9) "XMLReader"
  [39]=>
  unicode(12) "TextIterator"
  [40]=>
  unicode(19) "ReverseTextIterator"
  [41]=>
  unicode(8) "Collator"
  [42]=>
  unicode(1) "U"
  [43]=>
  unicode(16) "SimpleXMLElement"
  [44]=>
  unicode(25) "RecursiveIteratorIterator"
  [45]=>
  unicode(16) "IteratorIterator"
  [46]=>
  unicode(14) "FilterIterator"
  [47]=>
  unicode(23) "RecursiveFilterIterator"
  [48]=>
  unicode(14) "ParentIterator"
  [49]=>
  unicode(13) "LimitIterator"
  [50]=>
  unicode(15) "CachingIterator"
  [51]=>
  unicode(24) "RecursiveCachingIterator"
  [52]=>
  unicode(16) "NoRewindIterator"
  [53]=>
  unicode(14) "AppendIterator"
  [54]=>
  unicode(16) "InfiniteIterator"
  [55]=>
  unicode(13) "RegexIterator"
  [56]=>
  unicode(22) "RecursiveRegexIterator"
  [57]=>
  unicode(13) "EmptyIterator"
  [58]=>
  unicode(11) "ArrayObject"
  [59]=>
  unicode(13) "ArrayIterator"
  [60]=>
  unicode(22) "RecursiveArrayIterator"
  [61]=>
  unicode(11) "SplFileInfo"
  [62]=>
  unicode(17) "DirectoryIterator"
  [63]=>
  unicode(26) "RecursiveDirectoryIterator"
  [64]=>
  unicode(13) "SplFileObject"
  [65]=>
  unicode(17) "SplTempFileObject"
  [66]=>
  unicode(17) "SimpleXMLIterator"
  [67]=>
  unicode(14) "LogicException"
  [68]=>
  unicode(24) "BadFunctionCallException"
  [69]=>
  unicode(22) "BadMethodCallException"
  [70]=>
  unicode(15) "DomainException"
  [71]=>
  unicode(24) "InvalidArgumentException"
  [72]=>
  unicode(15) "LengthException"
  [73]=>
  unicode(19) "OutOfRangeException"
  [74]=>
  unicode(16) "RuntimeException"
  [75]=>
  unicode(20) "OutOfBoundsException"
  [76]=>
  unicode(17) "OverflowException"
  [77]=>
  unicode(14) "RangeException"
  [78]=>
  unicode(18) "UnderflowException"
  [79]=>
  unicode(24) "UnexpectedValueException"
  [80]=>
  unicode(16) "SplObjectStorage"
  [81]=>
  unicode(12) "PDOException"
  [82]=>
  unicode(3) "PDO"
  [83]=>
  unicode(12) "PDOStatement"
  [84]=>
  unicode(6) "PDORow"
  [85]=>
  unicode(10) "SoapClient"
  [86]=>
  unicode(7) "SoapVar"
  [87]=>
  unicode(10) "SoapServer"
  [88]=>
  unicode(9) "SoapFault"
  [89]=>
  unicode(9) "SoapParam"
  [90]=>
  unicode(10) "SoapHeader"
  [91]=>
  unicode(14) "SQLiteDatabase"
  [92]=>
  unicode(12) "SQLiteResult"
  [93]=>
  unicode(16) "SQLiteUnbuffered"
  [94]=>
  unicode(15) "SQLiteException"
  [95]=>
  unicode(22) "__PHP_Incomplete_Class"
  [96]=>
  unicode(15) "php_user_filter"
  [97]=>
  unicode(9) "Directory"
  [98]=>
  unicode(19) "ReflectionException"
  [99]=>
  unicode(10) "Reflection"
  [100]=>
  unicode(26) "ReflectionFunctionAbstract"
  [101]=>
  unicode(18) "ReflectionFunction"
  [102]=>
  unicode(19) "ReflectionParameter"
  [103]=>
  unicode(16) "ReflectionMethod"
  [104]=>
  unicode(15) "ReflectionClass"
  [105]=>
  unicode(16) "ReflectionObject"
  [106]=>
  unicode(18) "ReflectionProperty"
  [107]=>
  unicode(19) "ReflectionExtension"
  [108]=>
  unicode(20) "mysqli_sql_exception"
  [109]=>
  unicode(13) "mysqli_driver"
  [110]=>
  unicode(6) "mysqli"
  [111]=>
  unicode(14) "mysqli_warning"
  [112]=>
  unicode(13) "mysqli_result"
  [113]=>
  unicode(11) "mysqli_stmt"
  [114]=>
  unicode(8) "DateTime"
  [115]=>
  unicode(12) "DateTimeZone"
  [116]=>
  unicode(7) "myClass"
}

Actual result:
--------------
array(123) {
  [0]=>
  unicode(8) "stdClass"
  [1]=>
  unicode(9) "Exception"
  [2]=>
  unicode(14) "ErrorException"
  [3]=>
  unicode(26) "UnicodeConversionException"
  [4]=>
  unicode(11) "LibXMLError"
  [5]=>
  unicode(13) "XSLTProcessor"
  [6]=>
  unicode(9) "XMLWriter"
  [7]=>
  unicode(12) "DOMException"
  [8]=>
  unicode(13) "DOMStringList"
  [9]=>
  unicode(11) "DOMNameList"
  [10]=>
  unicode(21) "DOMImplementationList"
  [11]=>
  unicode(23) "DOMImplementationSource"
  [12]=>
  unicode(17) "DOMImplementation"
  [13]=>
  unicode(7) "DOMNode"
  [14]=>
  unicode(16) "DOMNameSpaceNode"
  [15]=>
  unicode(19) "DOMDocumentFragment"
  [16]=>
  unicode(11) "DOMDocument"
  [17]=>
  unicode(11) "DOMNodeList"
  [18]=>
  unicode(15) "DOMNamedNodeMap"
  [19]=>
  unicode(16) "DOMCharacterData"
  [20]=>
  unicode(7) "DOMAttr"
  [21]=>
  unicode(10) "DOMElement"
  [22]=>
  unicode(7) "DOMText"
  [23]=>
  unicode(10) "DOMComment"
  [24]=>
  unicode(11) "DOMTypeinfo"
  [25]=>
  unicode(18) "DOMUserDataHandler"
  [26]=>
  unicode(11) "DOMDomError"
  [27]=>
  unicode(15) "DOMErrorHandler"
  [28]=>
  unicode(10) "DOMLocator"
  [29]=>
  unicode(16) "DOMConfiguration"
  [30]=>
  unicode(15) "DOMCdataSection"
  [31]=>
  unicode(15) "DOMDocumentType"
  [32]=>
  unicode(11) "DOMNotation"
  [33]=>
  unicode(9) "DOMEntity"
  [34]=>
  unicode(18) "DOMEntityReference"
  [35]=>
  unicode(24) "DOMProcessingInstruction"
  [36]=>
  unicode(15) "DOMStringExtend"
  [37]=>
  unicode(8) "DOMXPath"
  [38]=>
  unicode(9) "XMLReader"
  [39]=>
  unicode(12) "TextIterator"
  [40]=>
  unicode(19) "ReverseTextIterator"
  [41]=>
  unicode(8) "Collator"
  [42]=>
  unicode(1) "U"
  [43]=>
  unicode(16) "SimpleXMLElement"
  [44]=>
  unicode(25) "RecursiveIteratorIterator"
  [45]=>
  unicode(16) "IteratorIterator"
  [46]=>
  unicode(14) "FilterIterator"
  [47]=>
  unicode(23) "RecursiveFilterIterator"
  [48]=>
  unicode(14) "ParentIterator"
  [49]=>
  unicode(13) "LimitIterator"
  [50]=>
  unicode(15) "CachingIterator"
  [51]=>
  unicode(24) "RecursiveCachingIterator"
  [52]=>
  unicode(16) "NoRewindIterator"
  [53]=>
  unicode(14) "AppendIterator"
  [54]=>
  unicode(16) "InfiniteIterator"
  [55]=>
  unicode(13) "RegexIterator"
  [56]=>
  unicode(22) "RecursiveRegexIterator"
  [57]=>
  unicode(13) "EmptyIterator"
  [58]=>
  unicode(11) "ArrayObject"
  [59]=>
  unicode(13) "ArrayIterator"
  [60]=>
  unicode(22) "RecursiveArrayIterator"
  [61]=>
  unicode(11) "SplFileInfo"
  [62]=>
  unicode(17) "DirectoryIterator"
  [63]=>
  unicode(26) "RecursiveDirectoryIterator"
  [64]=>
  unicode(13) "SplFileObject"
  [65]=>
  unicode(17) "SplTempFileObject"
  [66]=>
  unicode(17) "SimpleXMLIterator"
  [67]=>
  unicode(14) "LogicException"
  [68]=>
  unicode(24) "BadFunctionCallException"
  [69]=>
  unicode(22) "BadMethodCallException"
  [70]=>
  unicode(15) "DomainException"
  [71]=>
  unicode(24) "InvalidArgumentException"
  [72]=>
  unicode(15) "LengthException"
  [73]=>
  unicode(19) "OutOfRangeException"
  [74]=>
  unicode(16) "RuntimeException"
  [75]=>
  unicode(20) "OutOfBoundsException"
  [76]=>
  unicode(17) "OverflowException"
  [77]=>
  unicode(14) "RangeException"
  [78]=>
  unicode(18) "UnderflowException"
  [79]=>
  unicode(24) "UnexpectedValueException"
  [80]=>
  unicode(16) "SplObjectStorage"
  [81]=>
  unicode(12) "PDOException"
  [82]=>
  unicode(3) "PDO"
  [83]=>
  unicode(12) "PDOStatement"
  [84]=>
  unicode(6) "PDORow"
  [85]=>
  unicode(10) "SoapClient"
  [86]=>
  unicode(7) "SoapVar"
  [87]=>
  unicode(10) "SoapServer"
  [88]=>
  unicode(9) "SoapFault"
  [89]=>
  unicode(9) "SoapParam"
  [90]=>
  unicode(10) "SoapHeader"
  [91]=>
  unicode(14) "SQLiteDatabase"
  [92]=>
  unicode(12) "SQLiteResult"
  [93]=>
  unicode(16) "SQLiteUnbuffered"
  [94]=>
  unicode(15) "SQLiteException"
  [95]=>
  unicode(22) "__PHP_Incomplete_Class"
  [96]=>
  unicode(15) "php_user_filter"
  [97]=>
  unicode(9) "Directory"
  [98]=>
  unicode(19) "ReflectionException"
  [99]=>
  unicode(10) "Reflection"
  [100]=>
  unicode(26) "ReflectionFunctionAbstract"
  [101]=>
  unicode(18) "ReflectionFunction"
  [102]=>
  unicode(19) "ReflectionParameter"
  [103]=>
  unicode(16) "ReflectionMethod"
  [104]=>
  unicode(15) "ReflectionClass"
  [105]=>
  unicode(16) "ReflectionObject"
  [106]=>
  unicode(18) "ReflectionProperty"
  [107]=>
  unicode(19) "ReflectionExtension"
  [108]=>
  unicode(20) "mysqli_sql_exception"
  [109]=>
  unicode(13) "mysqli_driver"
  [110]=>
  unicode(6) "mysqli"
  [111]=>
  unicode(14) "mysqli_warning"
  [112]=>
  unicode(13) "mysqli_result"
  [113]=>
  unicode(11) "mysqli_stmt"
  [114]=>
  unicode(8) "DateTime"
  [115]=>
  unicode(12) "DateTimeZone"
  [116]=>
  unicode(4) "慊慶��"
  [117]=>
  unicode(9) "慊慶牁慲y���"
  [118]=>
  unicode(14) "慪慶敟捸灥楴湯�෍ˤ�"
  [119]=>
  unicode(10) "慪慶损慬獳���෍"
  [120]=>
  unicode(9) "慊慶汃獡s���"
  [121]=>
  unicode(13) "慊慶硅散瑰潩n�෍࿠˥
"
  [122]=>
  unicode(7) "myClass"
}
array(123) {
  [0]=>
  unicode(8) "stdClass"
  [1]=>
  unicode(9) "Exception"
  [2]=>
  unicode(14) "ErrorException"
  [3]=>
  unicode(26) "UnicodeConversionException"
  [4]=>
  unicode(11) "LibXMLError"
  [5]=>
  unicode(13) "XSLTProcessor"
  [6]=>
  unicode(9) "XMLWriter"
  [7]=>
  unicode(12) "DOMException"
  [8]=>
  unicode(13) "DOMStringList"
  [9]=>
  unicode(11) "DOMNameList"
  [10]=>
  unicode(21) "DOMImplementationList"
  [11]=>
  unicode(23) "DOMImplementationSource"
  [12]=>
  unicode(17) "DOMImplementation"
  [13]=>
  unicode(7) "DOMNode"
  [14]=>
  unicode(16) "DOMNameSpaceNode"
  [15]=>
  unicode(19) "DOMDocumentFragment"
  [16]=>
  unicode(11) "DOMDocument"
  [17]=>
  unicode(11) "DOMNodeList"
  [18]=>
  unicode(15) "DOMNamedNodeMap"
  [19]=>
  unicode(16) "DOMCharacterData"
  [20]=>
  unicode(7) "DOMAttr"
  [21]=>
  unicode(10) "DOMElement"
  [22]=>
  unicode(7) "DOMText"
  [23]=>
  unicode(10) "DOMComment"
  [24]=>
  unicode(11) "DOMTypeinfo"
  [25]=>
  unicode(18) "DOMUserDataHandler"
  [26]=>
  unicode(11) "DOMDomError"
  [27]=>
  unicode(15) "DOMErrorHandler"
  [28]=>
  unicode(10) "DOMLocator"
  [29]=>
  unicode(16) "DOMConfiguration"
  [30]=>
  unicode(15) "DOMCdataSection"
  [31]=>
  unicode(15) "DOMDocumentType"
  [32]=>
  unicode(11) "DOMNotation"
  [33]=>
  unicode(9) "DOMEntity"
  [34]=>
  unicode(18) "DOMEntityReference"
  [35]=>
  unicode(24) "DOMProcessingInstruction"
  [36]=>
  unicode(15) "DOMStringExtend"
  [37]=>
  unicode(8) "DOMXPath"
  [38]=>
  unicode(9) "XMLReader"
  [39]=>
  unicode(12) "TextIterator"
  [40]=>
  unicode(19) "ReverseTextIterator"
  [41]=>
  unicode(8) "Collator"
  [42]=>
  unicode(1) "U"
  [43]=>
  unicode(16) "SimpleXMLElement"
  [44]=>
  unicode(25) "RecursiveIteratorIterator"
  [45]=>
  unicode(16) "IteratorIterator"
  [46]=>
  unicode(14) "FilterIterator"
  [47]=>
  unicode(23) "RecursiveFilterIterator"
  [48]=>
  unicode(14) "ParentIterator"
  [49]=>
  unicode(13) "LimitIterator"
  [50]=>
  unicode(15) "CachingIterator"
  [51]=>
  unicode(24) "RecursiveCachingIterator"
  [52]=>
  unicode(16) "NoRewindIterator"
  [53]=>
  unicode(14) "AppendIterator"
  [54]=>
  unicode(16) "InfiniteIterator"
  [55]=>
  unicode(13) "RegexIterator"
  [56]=>
  unicode(22) "RecursiveRegexIterator"
  [57]=>
  unicode(13) "EmptyIterator"
  [58]=>
  unicode(11) "ArrayObject"
  [59]=>
  unicode(13) "ArrayIterator"
  [60]=>
  unicode(22) "RecursiveArrayIterator"
  [61]=>
  unicode(11) "SplFileInfo"
  [62]=>
  unicode(17) "DirectoryIterator"
  [63]=>
  unicode(26) "RecursiveDirectoryIterator"
  [64]=>
  unicode(13) "SplFileObject"
  [65]=>
  unicode(17) "SplTempFileObject"
  [66]=>
  unicode(17) "SimpleXMLIterator"
  [67]=>
  unicode(14) "LogicException"
  [68]=>
  unicode(24) "BadFunctionCallException"
  [69]=>
  unicode(22) "BadMethodCallException"
  [70]=>
  unicode(15) "DomainException"
  [71]=>
  unicode(24) "InvalidArgumentException"
  [72]=>
  unicode(15) "LengthException"
  [73]=>
  unicode(19) "OutOfRangeException"
  [74]=>
  unicode(16) "RuntimeException"
  [75]=>
  unicode(20) "OutOfBoundsException"
  [76]=>
  unicode(17) "OverflowException"
  [77]=>
  unicode(14) "RangeException"
  [78]=>
  unicode(18) "UnderflowException"
  [79]=>
  unicode(24) "UnexpectedValueException"
  [80]=>
  unicode(16) "SplObjectStorage"
  [81]=>
  unicode(12) "PDOException"
  [82]=>
  unicode(3) "PDO"
  [83]=>
  unicode(12) "PDOStatement"
  [84]=>
  unicode(6) "PDORow"
  [85]=>
  unicode(10) "SoapClient"
  [86]=>
  unicode(7) "SoapVar"
  [87]=>
  unicode(10) "SoapServer"
  [88]=>
  unicode(9) "SoapFault"
  [89]=>
  unicode(9) "SoapParam"
  [90]=>
  unicode(10) "SoapHeader"
  [91]=>
  unicode(14) "SQLiteDatabase"
  [92]=>
  unicode(12) "SQLiteResult"
  [93]=>
  unicode(16) "SQLiteUnbuffered"
  [94]=>
  unicode(15) "SQLiteException"
  [95]=>
  unicode(22) "__PHP_Incomplete_Class"
  [96]=>
  unicode(15) "php_user_filter"
  [97]=>
  unicode(9) "Directory"
  [98]=>
  unicode(19) "ReflectionException"
  [99]=>
  unicode(10) "Reflection"
  [100]=>
  unicode(26) "ReflectionFunctionAbstract"
  [101]=>
  unicode(18) "ReflectionFunction"
  [102]=>
  unicode(19) "ReflectionParameter"
  [103]=>
  unicode(16) "ReflectionMethod"
  [104]=>
  unicode(15) "ReflectionClass"
  [105]=>
  unicode(16) "ReflectionObject"
  [106]=>
  unicode(18) "ReflectionProperty"
  [107]=>
  unicode(19) "ReflectionExtension"
  [108]=>
  unicode(20) "mysqli_sql_exception"
  [109]=>
  unicode(13) "mysqli_driver"
  [110]=>
  unicode(6) "mysqli"
  [111]=>
  unicode(14) "mysqli_warning"
  [112]=>
  unicode(13) "mysqli_result"
  [113]=>
  unicode(11) "mysqli_stmt"
  [114]=>
  unicode(8) "DateTime"
  [115]=>
  unicode(12) "DateTimeZone"
  [116]=>
  unicode(4) "慊慶��"
  [117]=>
  unicode(9) "慊慶牁慲y���"
  [118]=>
  unicode(14) "慪慶敟捸灥楴湯�෍ˤ�"
  [119]=>
  unicode(10) "慪慶损慬獳���෍"
  [120]=>
  unicode(9) "慊慶汃獡s���"
  [121]=>
  unicode(13) "慊慶硅散瑰潩n�෍࿠˥
"
  [122]=>
  unicode(7) "myClass"
}
慪慶敟捸灥楴湯�෍ˤ� does not exist.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-24 07:28 UTC] robert at typo3 dot org
Sorry, for some reason the var_dump array output in the expected result was pasted in twice. I expect the second array of course, that one without the special character class names.
 [2007-05-28 15:10 UTC] tony2001@php.net
What is the minimal configure line required to reproduce it?
 [2007-06-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC