Re: [PHP-DEV] Re: PHP_SESSION_* constant values

2012-01-28 Thread Paul Dragoonis
On Sat, Jan 28, 2012 at 9:53 PM, Justin Martin wrote: > Someone actually just pointed out to me that if(-1) returns true. In that > case, I suppose my suggestion doesn't quite work. > > The reason I suggest this is that I suspect people will constantly be > looking up what the constants are called

Re: [PHP-DEV] Re: PHP_SESSION_* constant values

2012-01-28 Thread Sanford Whiteman
> 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

[PHP-DEV] Re: PHP_SESSION_* constant values

2012-01-28 Thread Justin Martin
Someone actually just pointed out to me that if(-1) returns true. In that case, I suppose my suggestion doesn't quite work. The reason I suggest this is that I suspect people will constantly be looking up what the constants are called. On 12-01-28 11:17 AM, Justin Martin wrote: Hello everyon