Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104998 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 79740 invoked from network); 29 Mar 2019 14:28:25 -0000 Received: from unknown (HELO mail-lj1-f195.google.com) (209.85.208.195) by pb1.pair.com with SMTP; 29 Mar 2019 14:28:25 -0000 Received: by mail-lj1-f195.google.com with SMTP id f23so1624450ljc.0 for ; Fri, 29 Mar 2019 04:22:33 -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=B0xYjS7Y9cAPwf1g9BwOsea9itp1cmBnFNfPSxC3oK4=; b=xEdJI86pqQvVGoZypu7+34PlYGZmH+UShIj9/K1W6wazmmB+K1QsRpTLJsRSrE4npu bzALT9z6Lk7d5S4NeR+W+yeHQNU7cnLlyHBidD//8O6jP7ZMarI7hVoDeM3TcBNNJueM QbK3UaB74r4ftFmex6dv+sPcJ5b+F9ubAJrGS+Ag+/oz0DeOgBjEwloamKPXcMn6Wdb8 /oRYR1YWPlforwaJqs1OIb6EEsRY4oe3mRWgmRXt6TN4GoSU9DNneTcea8szck/qGwgf HO9whOvmhMVdSM0hn68i+HpmsIHCAsZk925lNDpdtA73SqJKHGr7ZtxFP/xyj+XzYUSI IoLA== 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=B0xYjS7Y9cAPwf1g9BwOsea9itp1cmBnFNfPSxC3oK4=; b=O5byw+/RYV3In16enGgAW1Py13xEkCAeXN79eOym/d9lCeV+FkFvd0ztTqe7DP0ypn GZIONSyDU5vhTRw1ZakRNO4pw2WVdy1JtFd4TZFkH3h2cxr9JmY3njKv+OvQLLNy0r7j jt2Gk0VEpBHYm5eqabSh4hzTD+KzdtKFKFBy0ylJjIwXCUV9bD94ZwLhYn4ZOpIsfGWW VUYiSXmjY8EslDQNg3EbR3ijafe+PoUqlD6uZuGlk3Sq3LBU+2TETJObHnrpJ8824zhs YXpWyWFbP4B/MtdD/TbhmoM5db+5cIBWDCuHcEhkTqUDrKcTB7ig0TWsIwpw+0Rnz2yd 5hkQ== X-Gm-Message-State: APjAAAWPxk5ymMMvHXmQcFJ2plBMXnBqFpzvkXyNJ9GNoM18eBnSgUF9 VdauXOOvVnDb2mJaGGMxxGDtUZEV6o2AHPGjOjHQEA== X-Google-Smtp-Source: APXvYqxC1Up0g+FhcAW8LR5LO10mQnA/0bSyBWsS/CEuJn2nhKzJOv19axIL2BooPh76LT5dwXZ2xzuSJOlXMlhC19Q= X-Received: by 2002:a2e:542:: with SMTP id 63mr26299560ljf.144.1553858552403; Fri, 29 Mar 2019 04:22:32 -0700 (PDT) MIME-Version: 1.0 References: <2f7acce4-69dd-d98b-6f86-1110e3589c4b@lsces.co.uk> <27d7e310-f50d-5dad-1af8-345f77dfd102@lsces.co.uk> <0c833502-1017-5432-f3d4-ac608d864a19@gmx.de> In-Reply-To: Date: Fri, 29 Mar 2019 12:22:20 +0100 Message-ID: To: Joe Watkins Cc: "Christoph M. Becker" , Lester Caine , PHP Internals Content-Type: multipart/alternative; boundary="0000000000000c2c7d058539e35a" Subject: Re: [PHP-DEV] Firebird - Who are WE ... From: kontakt@beberlei.de (Benjamin Eberlei) --0000000000000c2c7d058539e35a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 29, 2019 at 10:59 AM Joe Watkins wrote: > Specifically the events interface is broken all versions of PHP 7: > > - In a non-zts build, it executes user code allocated in Thread A in > Thread B - that's not allowed. > - In a zts build, it makes the same mistake as above, and uses a TSRM > API to set context which itself has been broken since PHP 7.0. > > It so happens that PHP 8 has broken the build, but specifically that part > of the extension has been broken since PHP 7.0. > But I am correct to understand the code still compiles and works in NTS mode, so its not completely broken, only on ZTS. > > Cheers > Joe > > > > On Fri, 29 Mar 2019 at 10:40, Christoph M. Becker > wrote: > >> On 29.03.2019 at 10:29, Benjamin Eberlei wrote: >> >> > On Fri, Mar 29, 2019 at 10:20 AM Lester Caine >> wrote: >> > >> >> Currently building 'interbase' extension has been turned off because >> >> it's failing to pass the changes in master for thread safe operation.= I >> >> understand that it needs someone to work on it and I would love to be >> >> able to do that but it's development requirements have moved outside >> the >> >> area that I can cope with. And many people reliant on it are in the >> same >> >> boat, just as they would not be able to contribute to writing code fo= r >> >> Firebird itself. While not perfect, what we have currently does it's >> job >> >> just as PHP5.2 still works on legacy hosting. PDO hopefully will rema= in >> >> available, but re-writing 20 years worth of code base for that >> different >> >> way of working has the same problem as finding resources to update th= e >> >> interbase extension. >> > >> > PHP needs to support thread safety in all its extensions, but that >> doesn't >> > mean its required for PECL extensions. You probably run PHP in NTS mod= e, >> > and if the interbase extension supports that, no need to add thread >> safety >> > support while in PECL. The problem is that every extension in php-src >> MUST >> > support it, because php supports it. >> > >> > To me it feels you are blowing this issue way out of proportion. Pleas= e >> > believe everyone trying to tell you over and over again that you have >> > nothing to fear from this unbundling. >> >> ext/interbase is indeed broken (i.e. uncompilable) in master (not PHP >> 7.4 though), since PR #3976[1] has been merged. It will certainly be >> fixed, if the =E2=80=9CUnbundle ext/interbase=E2=80=9D RFC[2] will be de= clined; if it >> will be accepted it might never get fixed. >> >> [1] >> [2] >> >> -- >> Christoph M. Becker >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> --0000000000000c2c7d058539e35a--