Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57550 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60517 invoked from network); 28 Jan 2012 22:03:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2012 22:03:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=swhitemanlistens-software@cypressintegrated.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=swhitemanlistens-software@cypressintegrated.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain cypressintegrated.com designates 69.28.242.152 as permitted sender) X-PHP-List-Original-Sender: swhitemanlistens-software@cypressintegrated.com X-Host-Fingerprint: 69.28.242.152 rproxy1-a.cypressintegrated.com Received: from [69.28.242.152] ([69.28.242.152:1435] helo=rproxy1-a.cypressintegrated.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/05-09011-BC0742F4 for ; Sat, 28 Jan 2012 17:03:55 -0500 Received: from bad.dop.co ([192.168.87.152]) by rproxy1-a.cypressintegrated.com (Brand New Heavy v1.0) with ASMTP id MXF43751 for ; Sat, 28 Jan 2012 17:03:51 -0500 Date: Sat, 28 Jan 2012 17:03:11 -0500 X-Priority: 3 (Normal) Message-ID: <1549131551.20120128170311@figureone.com> To: internals@lists.php.net In-Reply-To: <29.64.09011.35E642F4@pb1.pair.com> References: <29.64.09011.35E642F4@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP_SESSION_* constant values From: swhitemanlistens-software@cypressintegrated.com ("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 path, while no_active_session might go through another. -- S.