Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104895 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 31417 invoked from network); 23 Mar 2019 16:39:46 -0000 Received: from unknown (HELO mail-lf1-f66.google.com) (209.85.167.66) by pb1.pair.com with SMTP; 23 Mar 2019 16:39:46 -0000 Received: by mail-lf1-f66.google.com with SMTP id r25so3156096lfn.13 for ; Sat, 23 Mar 2019 06:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WqmMOsq/KhiFZa6yHpa9PDcI3QFzIgP8wHh5MiY2iKo=; b=KEPzJwrNAc457AOaoDwGP1jRaH9x1rX9R1GJ2CwM7gXEsfzbB816nCzCnj/ftCdWG5 CIJ/YUEBOP4IxpBLpLcNooYfF0Sh2I6PwyYLWFppkgsxm8OLuRNEhCESLJaQsfJYg9HI ILVNRt5GXhZCCX78ba7bkMz0a5+CYBoLR6ng8FmetRVMitgRySj0Osun0hN2CzCN+wxZ H4TVINb+udauyZ6yRzlGfSo8llxa8FaOLAEoGBzvnoOFa9I8i2ZgSYOPdVJAXJN5LxH9 s4M3dqJxCoBAQfxhNV1bGR+zmF+AF9Y5Jfzy/d/tuXQssNA1hE6B92FKDlmYHvHB7rm/ 60lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WqmMOsq/KhiFZa6yHpa9PDcI3QFzIgP8wHh5MiY2iKo=; b=Oa/7L1VMzMK21U2OBf37tpPCy2YM4vbnWtj/vI0Z/WaQydFslfi/qi7U6xHKzXG9f0 dvoG+HYdhM3gJmCi3S7Eg9lKqgcPHuN+RjLl9aNiy1ToN+FxzzHdaTjl1A1ylpqmwzEI r1MsJxG89PbPrzVRVEWFUPIytQEyhDMKHZlFt32zdFFdxytQ2HzfQAx+ST+dUvAqYeEe ILaMuvAPmhuno7juuKkHdyOSbWHnpwlASOj6yKxBhsBc6FY3KHxAwHKFJrfZzwlJBI9k oZ9VXX9eihy11hqDdzmdIn4cHLscDBGTS7fdqN4ZYaq2lJhW48xUDS3xW3CKtmoGrir7 bdpg== X-Gm-Message-State: APjAAAU/wA0PPeXO8yGxzYw9rXKiNGg5CC2BnJcP9TbC4YIItne+3LcY P61+SsEhG1EZ9IA+5refHqfhLzO8/47QLNQS/wEZmA== X-Google-Smtp-Source: APXvYqzidi/z0pdFpFsAhEHXp/ATG+zDeoUAAXDsE73l47laCqOtyLl8aePh0d/4wsiAGgTIdALREw4duCezhwWtmtw= X-Received: by 2002:a19:960c:: with SMTP id y12mr7536843lfd.159.1553347944256; Sat, 23 Mar 2019 06:32:24 -0700 (PDT) MIME-Version: 1.0 References: <2f7acce4-69dd-d98b-6f86-1110e3589c4b@lsces.co.uk> <14e38736-deee-1930-e4eb-21651beebb13@lsces.co.uk> <7c0f8e83-60c0-dd7a-8f00-6d746cbb8e77@lsces.co.uk> In-Reply-To: <7c0f8e83-60c0-dd7a-8f00-6d746cbb8e77@lsces.co.uk> Date: Sat, 23 Mar 2019 14:32:12 +0100 Message-ID: To: Lester Caine Cc: Kalle Sommer Nielsen , PHP internals Content-Type: multipart/alternative; boundary="0000000000006e33d60584c300d4" Subject: Re: [PHP-DEV] Firebird - Who are WE ... From: kontakt@beberlei.de (Benjamin Eberlei) --0000000000006e33d60584c300d4 Content-Type: text/plain; charset="UTF-8" On Sat, Mar 23, 2019 at 2:22 PM Lester Caine wrote: > On 23/03/2019 12:46, Kalle Sommer Nielsen wrote: > >> Now to get back to working out why Nikita's patch does not work in > >> 7.2.16 ... > > Obviously because the patch was made for PHP 7.3. Hint: If a > > macro/function is not available in 7.2, then look at how it is > > implemented in 7.3 and migrate it or see how other functions who do > > similar functionality works and port it. > > When merging the patch with the older code I was fairly sure that it did > exist already in 7.2 ... but until I can get php-src synced I'm having > to manually scan for this stuff ... at the current rate hg-git will take > 24 days so now I need another plan of attack :( > Why are you making it so complicated? php-src has a definition of the macros, its easy to look up on github.com/php/php-src, just copy this into the file that uses GC_ADDREF/DELREF above the usage: #ifndef GC_ADDREF #define GC_ADDREF(p) (GC_REFCOUNT(p)++) #endif #ifndef GC_DELREF #define GC_DELREF(p) (GC_REFCOUNT(p)--) #endif > -- > Lester Caine - G8HFL > ----------------------------- > Contact - https://lsces.co.uk/wiki/?page=contact > L.S.Caine Electronic Services - https://lsces.co.uk > EnquirySolve - https://enquirysolve.com/ > Model Engineers Digital Workshop - https://medw.co.uk > Rainbow Digital Media - https://rainbowdigitalmedia.co.uk > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --0000000000006e33d60584c300d4--