sebs            Mon Apr 27 00:08:21 2009 UTC

  Modified files:              
    /php-src/ext/spl/tests      spl_classes.phpt 
  Log:
  - fixing spl_classes test here as well
  
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/spl_classes.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/spl/tests/spl_classes.phpt
diff -u php-src/ext/spl/tests/spl_classes.phpt:1.2 
php-src/ext/spl/tests/spl_classes.phpt:1.3
--- php-src/ext/spl/tests/spl_classes.phpt:1.2  Sat Apr 25 19:06:26 2009
+++ php-src/ext/spl/tests/spl_classes.phpt      Mon Apr 27 00:08:21 2009
@@ -6,118 +6,8 @@
 Testfest 2009 Munich
 --FILE--
 <?php
-var_dump(spl_classes());
+var_dump(is_array(spl_classes()));
 ?>
 --EXPECT--
-array(54) {
-  ["AppendIterator"]=>
-  string(14) "AppendIterator"
-  ["ArrayIterator"]=>
-  string(13) "ArrayIterator"
-  ["ArrayObject"]=>
-  string(11) "ArrayObject"
-  ["BadFunctionCallException"]=>
-  string(24) "BadFunctionCallException"
-  ["BadMethodCallException"]=>
-  string(22) "BadMethodCallException"
-  ["CachingIterator"]=>
-  string(15) "CachingIterator"
-  ["Countable"]=>
-  string(9) "Countable"
-  ["DirectoryIterator"]=>
-  string(17) "DirectoryIterator"
-  ["DomainException"]=>
-  string(15) "DomainException"
-  ["EmptyIterator"]=>
-  string(13) "EmptyIterator"
-  ["FilesystemIterator"]=>
-  string(18) "FilesystemIterator"
-  ["FilterIterator"]=>
-  string(14) "FilterIterator"
-  ["GlobIterator"]=>
-  string(12) "GlobIterator"
-  ["InfiniteIterator"]=>
-  string(16) "InfiniteIterator"
-  ["InvalidArgumentException"]=>
-  string(24) "InvalidArgumentException"
-  ["IteratorIterator"]=>
-  string(16) "IteratorIterator"
-  ["LengthException"]=>
-  string(15) "LengthException"
-  ["LimitIterator"]=>
-  string(13) "LimitIterator"
-  ["LogicException"]=>
-  string(14) "LogicException"
-  ["MultipleIterator"]=>
-  string(16) "MultipleIterator"
-  ["NoRewindIterator"]=>
-  string(16) "NoRewindIterator"
-  ["OuterIterator"]=>
-  string(13) "OuterIterator"
-  ["OutOfBoundsException"]=>
-  string(20) "OutOfBoundsException"
-  ["OutOfRangeException"]=>
-  string(19) "OutOfRangeException"
-  ["OverflowException"]=>
-  string(17) "OverflowException"
-  ["ParentIterator"]=>
-  string(14) "ParentIterator"
-  ["RangeException"]=>
-  string(14) "RangeException"
-  ["RecursiveArrayIterator"]=>
-  string(22) "RecursiveArrayIterator"
-  ["RecursiveCachingIterator"]=>
-  string(24) "RecursiveCachingIterator"
-  ["RecursiveDirectoryIterator"]=>
-  string(26) "RecursiveDirectoryIterator"
-  ["RecursiveFilterIterator"]=>
-  string(23) "RecursiveFilterIterator"
-  ["RecursiveIterator"]=>
-  string(17) "RecursiveIterator"
-  ["RecursiveIteratorIterator"]=>
-  string(25) "RecursiveIteratorIterator"
-  ["RecursiveRegexIterator"]=>
-  string(22) "RecursiveRegexIterator"
-  ["RecursiveTreeIterator"]=>
-  string(21) "RecursiveTreeIterator"
-  ["RegexIterator"]=>
-  string(13) "RegexIterator"
-  ["RuntimeException"]=>
-  string(16) "RuntimeException"
-  ["SeekableIterator"]=>
-  string(16) "SeekableIterator"
-  ["SplDoublyLinkedList"]=>
-  string(19) "SplDoublyLinkedList"
-  ["SplFileInfo"]=>
-  string(11) "SplFileInfo"
-  ["SplFileObject"]=>
-  string(13) "SplFileObject"
-  ["SplFixedArray"]=>
-  string(13) "SplFixedArray"
-  ["SplHeap"]=>
-  string(7) "SplHeap"
-  ["SplMinHeap"]=>
-  string(10) "SplMinHeap"
-  ["SplMaxHeap"]=>
-  string(10) "SplMaxHeap"
-  ["SplObjectStorage"]=>
-  string(16) "SplObjectStorage"
-  ["SplObserver"]=>
-  string(11) "SplObserver"
-  ["SplPriorityQueue"]=>
-  string(16) "SplPriorityQueue"
-  ["SplQueue"]=>
-  string(8) "SplQueue"
-  ["SplStack"]=>
-  string(8) "SplStack"
-  ["SplSubject"]=>
-  string(10) "SplSubject"
-  ["SplTempFileObject"]=>
-  string(17) "SplTempFileObject"
-  ["UnderflowException"]=>
-  string(18) "UnderflowException"
-  ["UnexpectedValueException"]=>
-  string(24) "UnexpectedValueException"
-}
-
+bool(true)
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to