Re: if(true && false) //??

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

 



Oops.... my bad... misread it :(

On 7/9/05, André Medeiros <andre.caum@xxxxxxxxx> wrote:
> That's the same as having
> 
> if( !isset( $_SESSION['PrevUrl'] ) ) {
> //do something here
> }
> 
> On 7/9/05, Marco Tabini <marcot@xxxxxxxxx> wrote:
> > It can't -- that looks like some leftover debugging code to me.
> >
> >
> > Marco
> >
> >
> > On 7/9/05 10:50 AM, "Sam Smith" <php@xxxxxxxx> wrote:
> >
> > >
> > > I have some code that I barrowed that works but I don't get how it could
> > > possible work, obviously I don't understand how "false" works:
> > >
> > > How can this ever pass?:
> > > if (isset($_SESSION['PrevUrl']) && false) {
> > > ....
> > >
> > >
> > > Thanks
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>

-- 
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