You are here: Re: Bug || !Bug « All PHP « IT news, forums, messages
Re: Bug || !Bug

Posted by Hilarion on 08/22/05 16:14

> print("a") || print("b")
> is equal to:
> print( ("a") || print("b") )
>
>
> print("a") or print("b")
> is equal to:
> (print("a")) or (print("b"))



One more thing. From the above you can conclude that
"print" has lower precedence than "||" but higher
than "or".

To make first one equal to the second one you'll
probably have to do it like that:

(print("a")) || (print("b"))



Hilarion

 

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

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