ID: 31926 User updated by: gms08701 at yahoo dot com Reported By: gms08701 at yahoo dot com -Status: Feedback +Status: Open Bug Type: SPL related Operating System: FreeBSD 5.3 PHP Version: 5CVS-2005-02-13 Assigned To: helly New Comment:
Same results as before... Previous Comments: ------------------------------------------------------------------------ [2005-03-20 07:01:43] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip ------------------------------------------------------------------------ [2005-03-10 01:31:29] gms08701 at yahoo dot com Ok. This is with a snapshot from today... --- gladiator# /home/gsam/local/bin/php -v PHP 5.0.4-dev (cli) (built: Mar 9 2005 19:12:22) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies gladiator# setenv TEST_PHP_EXECUTABLE /home/gsam/local/bin/php gladiator# /home/gsam/local/bin/php -f /home/gsam/php/php5/run-tests.php ext/spl ===================================================================== CWD : /usr/home/gsam/php/php5 PHP : /home/gsam/local/bin/php PHP_SAPI : cli PHP_VERSION : 5.0.4-dev ZEND_VERSION: 2.0.4-dev PHP_OS : FreeBSD - FreeBSD gladiator.xxx.xxx 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Wed Dec 29 20:45:41 EST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GLADIATOR i386 INI actual : /usr/home/gsam/php/php5 More .INIs : /usr/local/etc/php/extensions.ini Extra dirs : ===================================================================== Running selected tests. PASS SPL: EmptyIterator [ext/spl/examples/tests/iterators_001.phpt] PASS SPL: InfiniteIterator [ext/spl/examples/tests/iterators_002.phpt] PASS SPL: NoRweindIterator [ext/spl/examples/tests/iterators_003.phpt] PASS SPL: AppendIterator [ext/spl/examples/tests/iterators_004.phpt] PASS SPL: ArrayObject [ext/spl/tests/array_001.phpt] PASS SPL: ArrayObject copy constructor [ext/spl/tests/array_002.phpt] PASS SPL: ArrayObject from object [ext/spl/tests/array_003.phpt] PASS SPL: ArrayIterator [ext/spl/tests/array_004.phpt] PASS SPL: ArrayObject/Iterator interaction [ext/spl/tests/array_005.phpt] PASS SPL: ArrayIterator without ArrayObject [ext/spl/tests/array_006.phpt] PASS SPL: ArrayObject/Iterator from IteratorAggregate [ext/spl/tests/array_007.phpt] PASS SPL: ArrayIterator and foreach reference [ext/spl/tests/array_008.phpt] FAIL SPL: ArrayIterator implementing RecursiveIterator [ext/spl/tests/array_009.phpt] PASS SPL: ArrayIterator implements ArrayAccess [ext/spl/tests/array_010.phpt] PASS SPL: ArrayIterator, LimitIterator and string keys [ext/spl/tests/array_011.phpt] PASS SPL: ArrayIterator::count [ext/spl/tests/array_012.phpt] PASS SPL: ArrayIterator::append [ext/spl/tests/array_013.phpt] PASS SPL: ArrayIterator::seek() [ext/spl/tests/array_014.phpt] PASS SPL: ArrayIterator::next() with internal arrays [ext/spl/tests/array_015.phpt] PASS Bug #28822 (ArrayObject::offsetExists() works inverted) [ext/spl/tests/bug28822.phpt] PASS Bug #31486 (ArrayIterator::next segfaults) [ext/spl/tests/bug31346.phpt] PASS Bug #31348 (CachingIterator::rewind() leaks) [ext/spl/tests/bug31348.phpt] FAIL Bug #31926 (php in free() error with RecursiveArrayIterator) [ext/spl/tests/bug31926.phpt] PASS Bug #32134 (Overloading offsetGet/offsetSet) [ext/spl/tests/bug32134.phpt] PASS SPL: Problem with casting to string [ext/spl/tests/dit_001.phpt] PASS SPL: Iterator aggregating inner iterator's methods [ext/spl/tests/iterator_001.phpt] FAIL SPL: Iterator using getInnerIterator [ext/spl/tests/iterator_002.phpt] PASS SPL: CachingIterator and __toString() [ext/spl/tests/iterator_003.phpt] PASS SPL: SeekableIterator and string keys [ext/spl/tests/iterator_004.phpt] FAIL SPL: SimpleXMLIterator [ext/spl/tests/sxe_001.phpt] FAIL SPL: SimpleXMLIterator and recursion [ext/spl/tests/sxe_002.phpt] FAIL SPL: SimpleXMLIterator and getChildren() [ext/spl/tests/sxe_003.phpt] ===================================================================== Number of tests : 32 32 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 6 ( 18.8%) ( 18.8%) Tests passed : 26 ( 81.3%) ( 81.3%) --------------------------------------------------------------------- Time taken : 7 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- SPL: ArrayIterator implementing RecursiveIterator [ext/spl/tests/array_009.phpt] Bug #31926 (php in free() error with RecursiveArrayIterator) [ext/spl/tests/bug31926.phpt] SPL: Iterator using getInnerIterator [ext/spl/tests/iterator_002.phpt] SPL: SimpleXMLIterator [ext/spl/tests/sxe_001.phpt] SPL: SimpleXMLIterator and recursion [ext/spl/tests/sxe_002.phpt] SPL: SimpleXMLIterator and getChildren() [ext/spl/tests/sxe_003.phpt] ===================================================================== ------------------------------------------------------------------------ [2005-03-09 18:10:22] [EMAIL PROTECTED] Well the run-tests.php script tries to figure out which php to run (since that does not need to be the one executing the script itself). This can be configured by the environment variable 'TEST_PHP_EXECUTABLE' this is either 'auto' for automatic mode or the path to your php executable you want to test. ------------------------------------------------------------------------ [2005-03-09 17:52:15] gms08701 at yahoo dot com ????? Could please explain what I did wrong... ------------------------------------------------------------------------ [2005-03-09 14:24:03] [EMAIL PROTECTED] According to the test result you used the run-tests.php script from your newly build but used your installation. Could you check again using the right php version now? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/31926 -- Edit this bug report at http://bugs.php.net/?id=31926&edit=1