Re: New years resolution: To get serious with my programming! Anyone wanna help? :)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, January 16, 2008 9:57 am, Daniel Brown wrote:
> echo($h."\n".$i."\n"); // echo is a construct, but as expected, can
> use parentheses()

Just to be picuyane:

echo isn't using the parens.

The parens are forcing PHP to evaluate the concatenation of the
strings FIRST, and then echo them.

And since the concatenation operator takes precedence over the
language construct, the parens are basically useless cruft.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux