You are here: Re: Butt ugly « PHP Programming Language « IT news, forums, messages
Re: Butt ugly

Posted by Chung Leong on 05/27/06 20:37

Jerry Stuckle wrote:
> Not if you understand precedence. Remember, '.' has a high precedence. The
> following all work:

The . operator has the same precedence as + and -, the wisdom of which
is debatable. I don't think it's intuitive that

echo 2+2 . ' = 2 + 2';

prints out '4 = 2 + 2' while

echo '2 + 2 = ' . 2+2;

prints out 4.

 

Navigation:

[Reply to this 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

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