Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42635 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77936 invoked from network); 15 Jan 2009 10:49:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2009 10:49:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 83.243.58.133 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 83.243.58.133 mailout1.netbeat.de Linux 2.6 Received: from [83.243.58.133] ([83.243.58.133:49928] helo=mailout1.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/6F-34613-FA41F694 for ; Thu, 15 Jan 2009 05:49:20 -0500 Received: (qmail 11346 invoked by uid 89); 15 Jan 2009 10:59:36 -0000 Received: from unknown (HELO ?192.168.1.103?) (johannes%schlueters.de@88.217.80.178) by mailout1.netbeat.de with ESMTPA; 15 Jan 2009 10:59:36 -0000 To: Stanislav Malyshev Cc: 'PHP Internals' In-Reply-To: <496E65B2.1070106@zend.com> References: <496E65B2.1070106@zend.com> Content-Type: text/plain Date: Thu, 15 Jan 2009 11:49:14 +0100 Message-ID: <1232016554.12981.56.camel@goldfinger> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] build IDs proposal From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Wed, 2009-01-14 at 14:22 -0800, Stanislav Malyshev wrote: > I think that it would be better if we adopted more clean and scalable > solution for that. I propose having one string build ID, which would > look something like: "API20071006,NTS,Debug,VC8" and would be rquired to > match exactly in the engine and the module. This should be relatively > easy to generate when compiling. In general: Yes, making this extendable is good. But a few comments: - We should make sure not to over-specify things, some minor things can be irrelevant for 99% of the cases (like the old memory limit: for all extensions, except XDebug, this didn't matter but including it in the version string creates trouble and XDebug would either miss a feature (memory profiling) or not load due to a "symbol not found" ...) - We (usually) guarantee binary compatibility for bug fix releases (z in x.y.z) maybe we could use x.y in the version ID - mapping from API No. to version No. is a pain - While at it: Do we really need _three_ version IDs? (Zend API, PHP API and ZendExtension API...) - Loading a 5.2 ext in 5.3 or vice versa should give a nice error, too (... as long as there's no "symbol no found" at least) johannes