PHP 4.0 Bug #6414: foreach() doesn't accept string for an argument

From: Date: Tue, 29 Aug 2000 14:47:05 +0000
Subject: PHP 4.0 Bug #6414: foreach() doesn't accept string for an argument
Groups: php.dev 
Request: Send a blank email to php-dev+get-31073@lists.php.net to get a copy of this message
From: cynic@mail.cz Operating system: NT 4.0 SP5 PHP version: 4.0 Latest CVS (29/08/2000) PHP Bug Type: Scripting Engine problem Bug description: foreach() doesn't accept string for an argument $b = "abcdefgh" ; foreach( $b as $y ) { echo $y ; } ; Warning: Invalid argument supplied for foreach()

« previous php.dev (#31073) next »