Date: 07/14/00
- Next message: Riccardo: "[PHP-DEV] FAQ 10.1"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5613 Updated: error when compiling with interbase"
- Maybe in reply to: Joey Smith: "[PHP-DEV] Question on foreach()?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Addressed to: Joey Smith <joey <email protected>>
PHP Developer List <php-dev <email protected>>
** Reply to note from Joey Smith <joey <email protected>> Fri, 14 Jul 2000 09:52:16 -0600 (MDT)
>
> I should have been more clear, I guess.
>
> I am fully aware of the foreach($array as $key => $value) structure.
> What I am asking is WHY the shorter version deals with values instead
> of keys. This was more a ? for one of the core guys, trying to
> understand conceptually WHY something was done.
>
<Wild Guess Alert>
Because it works well to pull data out of:
array( 'one', 'two', 'three', 'four' );
</Wild Guess Alert>
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Riccardo: "[PHP-DEV] FAQ 10.1"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5613 Updated: error when compiling with interbase"
- Maybe in reply to: Joey Smith: "[PHP-DEV] Question on foreach()?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

