You are here: Re: Help with ? and : « All PHP « IT news, forums, messages
Re: Help with ? and :

Posted by MS on 05/10/06 20:13

the ternary conditional operator:
http://uk2.php.net/expressions
http://uk2.php.net/ternary


--
----------------------------------------------------------------------------
http://www.myclubweb.co.uk - The Home of Club Websites
----------------------------------------------------------------------------


"Lars Eighner" <usenet@larseighner.com> wrote in message
news:slrne645hd.1lfg.usenet@goodwill.io.com...
> In our last episode,
> <tim.streater-8AEA7D.17223410052006@individual.net>,
> the lovely and talented Tim Streater
> broadcast on alt.php:
>
> > In article <1147275327.046931.171850@j33g2000cwa.googlegroups.com>,
> > "kenoli" <kenoli@igc.org> wrote:
>
> >> Thanks -- That's clear. So, when can one simply insert perl or c code
> >> into php code and expect it to work? I doubt it this can be done with
> >> impunity. How can one know when this can be done?
> >>
> >> Is this also php code and, if so, why isn't it documented at php.net?
> >>
> >> I've searched far and wide on php.net and other sites and found
> >> nothing, though I've also noticed that the search engine at php.net
> >> misses more than it finds.
>
> > The doccy at http://www.php.net/manual/en/index.php is pretty good in
> > general, although I couldn't find the conditional operator either.
>
> That's because it is documented in Expressions. Yeah, I know, ?:
> is called the tertiary conditional operator, but ...
>
> > However it is in an oldish paper copy of the PHP manual I have and is
> > genuine PHP. To see what else you can do browse the docs.
>
> --
> Lars Eighner usenet@larseighner.com
http://www.larseighner.com/
> Give me chastity and continence, but not just now. -- St. Augustine

 

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

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