Re: [PHP] foreach() using current() strange beahvior
- From: robert@xxxxxxxxxxxxx (Robert Cummings)
- Date: Sat, 23 Jun 2007 15:33:35 -0400
On Sat, 2007-06-23 at 15:15 -0400, Nathan Nobbe wrote:
in summary, COW or not; i think the documentation could be revised a bit to
clarify these subtleties.
Regardless of additional documentation or not, I think it's rather poor
choice of programming style to mix the foreach construct with the older,
lower level, internal array manipulation and probing functions. I think
that is what should be documented since you just might get weird
results :)
Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
.
- Follow-Ups:
- Re: [PHP] foreach() using current() strange beahvior
- From: "Nathan Nobbe"
- Re: [PHP] foreach() using current() strange beahvior
- References:
- foreach() using current() strange beahvior
- From: "Julien Pauli"
- Re: [PHP] foreach() using current() strange beahvior
- From: "Nathan Nobbe"
- foreach() using current() strange beahvior
- Prev by Date: Re: [PHP] foreach() using current() strange beahvior
- Next by Date: Re: [PHP] foreach() using current() strange beahvior
- Previous by thread: Re: [PHP] foreach() using current() strange beahvior
- Next by thread: Re: [PHP] foreach() using current() strange beahvior
- Index(es):