Powered by Cellfex RSS Follow me on Spotify

Archive for June, 2010

Changing the order of the addendsdoesn’t change their sum.

8 Jun 2010

Coder lunch.

Author: Edgars | Filed under: DailyStuff

Zend Studio is strict, much much more stricter towards syntax than PHP itself.

I finally came to this point where i find not normal regular
while($row=mysql_fetch_array)) {/* ... */} because Zend Studio also finds it not normal.
To make such statement “valid” not only for Zend Studio, but also for common sense, use this instead:
while(($row=mysql_fetch_array)) !== false) {/* ... */} Read the rest of this entry »

3 Jun 2010

Assignment in condition in Zend Studio

Author: Edgars | Filed under: DailyStuff