Reply to Re: Does passing an uninitialized array variable initialize it? (PHP 5)

Your name:

Reply:


Posted by google2006 on 07/30/07 21:29

On Jul 31, 7:20 am, "Paul Lautman" <paul.laut...@btinternet.com>
wrote:
> google2...@sensation.net.au wrote:
> Regardless of anything else, in the expression trim($rank[$i++]), you are
> referencing an uninitialised variable and that is bad programming practice
> and should throw an error if error checking is set high enough.

? Perhaps I'm misunderstanding how post increment works, but I thought
the sequence would go like this:

1. Pass $rank[$i] to trim()
2. Increment $i

Am I wrong?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация