Re: Re: PHP_SESSION_* constant values
| From: | Sanford Whiteman | Date: | Sat, 28 Jan 2012 22:03:11 +0000 |
| Subject: | Re: Re: PHP_SESSION_* constant values | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57550@lists.php.net to get a copy of this message | ||
> Someone actually just pointed out to me that if(-1) returns true. In
> that case, I suppose my suggestion doesn't quite work.
Well, it still "works" depending on what conclusion you want to draw
in your local environment.
Sessions_disabled || yes_active_session might go through the same code
path, while no_active_session might go through another.
-- S.