Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87051 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3541 invoked from network); 6 Jul 2015 16:04:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2015 16:04:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:22583] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/CD-21549-7F6AA955 for ; Mon, 06 Jul 2015 12:04:08 -0400 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id EE8B84B024D for ; Mon, 6 Jul 2015 18:04:04 +0200 (CEST) Reply-To: To: Date: Mon, 6 Jul 2015 18:03:54 +0200 Message-ID: <007801d0b805$5b9d3100$12d79300$@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdC4BFSvz6mHHoUCQva2tyjZZJyISw== Content-Language: fr X-Antivirus: avast! (VPS 150706-1, 06/07/2015), Outbound message X-Antivirus-Status: Clean Subject: Migrating PECL extension : Advice needed From: francois@php.net (=?iso-8859-1?Q?Fran=E7ois_Laupretre?=) Hi everybody, I'm currently adapting the 'PHK' PECL extension for PHP 7. I initially wanted to keep a single branch for PHP 5 and PHP 7, and enclose = differences in macros and #ifdef blocks, starting with a backport of zend_string. Unfortunately, PHK interacts a lot with the PHP core and, as changes accumulate, I see my code become less and less readable. So, I now think I'll have to create a separate branch. As many of you probably had to make the same decision, can you tell me = how you numbered your versions for the 2 parallel branches ? Use a different major number ? minor number ? same version with different suffixes ? Thanks and regards Fran=E7ois