Re: if(true && false) //??
| From: | André Medeiros | Date: | Sat, 09 Jul 2005 16:18:43 +0000 |
| Subject: | Re: if(true && false) //?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218386@lists.php.net to get a copy of this message | ||
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
>
>