helly Tue Aug 24 17:35:46 2004 EDT Added files: /php-src/tests/lang bug29566.phpt Log: Add new test
http://cvs.php.net/co.php/php-src/tests/lang/bug29566.phpt?r=1.1&p=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