cvs: php-src(PHP_4_4) /tests/lang bug29566.phpt

From: Date: Fri, 19 May 2006 11:15:57 +0000
Subject: cvs: php-src(PHP_4_4) /tests/lang bug29566.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38296@lists.php.net to get a copy of this message
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===

« previous php.cvs (#38296) next »