tony2001 Fri May 19 11:15:57 2006 UTC Added files: (Branch: PHP_4_4) /php-src/tests/lang bug29566.phpt Log: add new test
http://cvs.php.net/viewcvs.cgi/php-src/tests/lang/bug29566.phpt?view=markup&rev=1.1 Index: php-src/tests/lang/bug29566.phpt +++ php-src/tests/lang/bug29566.phpt --TEST-- Bug #29566 (foreach/string handling strangeness) --FILE-- <? $var="This is a string"; $dummy=""; unset($dummy); foreach($var['nosuchkey'] as $v) { } ?> ===DONE=== --EXPECTF-- Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d ===DONE=== -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php