Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46225 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40285 invoked from network); 29 Nov 2009 11:38:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2009 11:38:04 -0000 Authentication-Results: pb1.pair.com header.from=jess@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jess@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: jess@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:60684] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/9C-44817-81D521B4 for ; Sun, 29 Nov 2009 06:38:03 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id 8CACA50475; Sun, 29 Nov 2009 13:24:28 +0200 (IST) Received: from [10.1.2.102] ([10.1.2.102]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 29 Nov 2009 13:37:57 +0200 Message-ID: <4B125D15.4040308@zend.com> Date: Sun, 29 Nov 2009 13:37:57 +0200 User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: jvlad CC: internals@lists.php.net References: <61.CB.44817.91D421B4@pb1.pair.com> In-Reply-To: <61.CB.44817.91D421B4@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Nov 2009 11:37:57.0697 (UTC) FILETIME=[65D9B310:01CA70E8] Subject: Re: [PHP-DEV] php id string From: jess@zend.com (Jess Portnoy) Hello, Have you considered cases such as universal MAC/Darwin builds? The universal build method [used only by Apple but still, many PHP developers do run MAC] means you have several archs bundled together in the same binary, and, a binary built 2 ways [i386 and PPC or i386 and x86_64 or even 4 ways for that matter] can work on any of these archs. How do you suggest to handle that? May the source be with you, Best regards, Jess Portnoy jvlad wrote: > Hi all, > > Starting with version 5.3 php checks id string when it loads the extensions > to match its own one and it also shows this string in PHP Extension Build > line of phpinfo(). That's great. This line contains api#, threadsafe, and > compiler. So it's almost all important thigs to check and make sure that a > particular module is binary-compatible with php core. All things, except > just one, the CPU. It's known that Windows runs on many CPUs, Solaris runs > fine under sparc, sparc64, x86, and x86_64. Needless to mention linux and > *bsd systems (I guess they are running on everything). Why not to add what > phpinfo() shows in Architecture, to the id string? Are there any reasons not > to do this? > > -jvlad > > > >