Re: if(true && false) //??
| From: | André Medeiros | Date: | Sat, 09 Jul 2005 16:19:11 +0000 |
| Subject: | Re: if(true && false) //?? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218387@lists.php.net to get a copy of this message | ||
Oops.... my bad... misread it :(
On 7/9/05, André Medeiros <andre.caum@gmail.com> wrote:
> That's the same as having
>
> if( !isset( $_SESSION['PrevUrl'] ) ) {
> //do something here
> }
>
> On 7/9/05, Marco Tabini <marcot@tabini.ca> wrote:
> > It can't -- that looks like some leftover debugging code to me.
> >
> >
> > Marco
> >
> >
> > On 7/9/05 10:50 AM, "Sam Smith" <php@itab.com> 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
> >
> >
>