Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56747 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19035 invoked from network); 4 Dec 2011 08:43:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2011 08:43:55 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:64734] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1A/11-13454-AC23BDE4 for ; Sun, 04 Dec 2011 03:43:54 -0500 Received: by yenm7 with SMTP id m7so1526766yen.29 for ; Sun, 04 Dec 2011 00:43:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=o8zsPukRKwp5/jnDNz8sjomW2YhMD+ZxxPK5EJRLjbU=; b=woEuipQHnYdv1OjbMnVDB1QUbVt9d0SUbJZAWg0KwYL+UvKqcu6W6HaIPFNNorGYVw zGejlTiEFfjBYDjMOtuHXQ+jv/0tlqJ8SebHwWzox1frVY3RcEOmAYXqzDwPYNPJCH8j dcCpysm7AxRDoCWPS/Pu3cpq90I3y4GE66HgE= Received: by 10.236.180.200 with SMTP id j48mr5875486yhm.26.1322988232122; Sun, 04 Dec 2011 00:43:52 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.100.127.18 with HTTP; Sun, 4 Dec 2011 00:43:11 -0800 (PST) In-Reply-To: References: <4EBDC283.3040700@yahoo.co.jp> <4ED727FB.7030001@uw.no> <4EDA9788.5070901@sugarcrm.com> <4EDAEB9A.3050105@sugarcrm.com> Date: Sun, 4 Dec 2011 17:43:11 +0900 X-Google-Sender-Auth: 6pTxr3phi-QOEGeS5ByItGTWylw Message-ID: To: Stas Malyshev Cc: "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Strict session? From: yohgaki@ohgaki.net (Yasuo Ohgaki) 2011/12/4 Yasuo Ohgaki : > Hi Stats, > > 2011/12/4 Stas Malyshev : >>> If we care about binary API compatibility, how about make >>> >>> PS_MOD_SID2/PS_MOD_FUNCS_SID2 >>> >>> macros? Then we can forget about ABI. >> >> >> I'm sorry, I don't understand how any macros would help anything. Adding >> stuff to the structure would break binary compatibility, how the macros >> would help it? > > Since it is just adding new separate structure to session module, but > PHP itself checks API version number. So users cannot use the same > binary module anyway. I should have said API, not ABI. > > Now it should compile with msession which uses PHP_MOD_SID/PS_MOD_FUNCS_SID. > Oops, I was thinking to add new structure, but I forget to do. Anyway, if we care about ABI, we should add new structure or should have other solutions. -- Yasuo Ohgaki