Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104997 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60268 invoked from network); 29 Mar 2019 13:04:55 -0000 Received: from unknown (HELO mail-wm1-f66.google.com) (209.85.128.66) by pb1.pair.com with SMTP; 29 Mar 2019 13:04:55 -0000 Received: by mail-wm1-f66.google.com with SMTP id n25so2050092wmk.4 for ; Fri, 29 Mar 2019 02:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wK00rfseeIG+SNY18rzMF1eLi3CLi9fXKq1OXS/zCSM=; b=k7gRaqf5N70nBGjm89JRXhqQB8wjWtx52ffe9vGSCbCM/hWzbG7X8OaTaOLPnXg7Gp f5hO8e49ueKuGM0E3+VazkbAYvaQpGKeF06OW6GkTqWQcq+rgi5/VNLaXXi+Js2KudvZ MgBFRF7C5kQ2lmjCkzxLsTwJIBVuxd8qZsCU8PFgGJgaCVKg6ZR6IbkrEmoPBFpamQR1 yR6AvbnwGGjA/kIiex71GQP5u7/CXaT2WDCk1wVW3VypLUv/DwOsj3nIO5bB1FpMQMs7 +6DjPFyXcRB8PjjWwCgvcSPNmGA36sZc+GY0otNMnKBomkV2tICS6jK5CQ9IummLSnpA 5lqQ== 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=wK00rfseeIG+SNY18rzMF1eLi3CLi9fXKq1OXS/zCSM=; b=R65PNgCEF50Kq8KEcnk1rWDBdhE/0OpaywKiAPzll0VdcdYrMgnTP1ZGBfbVSBOT4j jaiVQE+0+NFZpm8Y3nGQCYnD/31bQdtwU0CxFZc8AhMt1pR+Bfy6/jSoYGVOg0YFvvc5 7PMemr3E9ajpop7kn4dh9NZir6wVnSkcGZyefuD3OfgaKEjTryfai1e4HEjS79iFIhRD UjzP9b2gyt3BjKQbbCnaxP+rLFgpv4VKBid6JSdYoQ+yBtEahL7y7xJPzYkCSKcs+NEb zr6/Hgo9mmyv69XcvI/HhgpP+HUFAxDc2RiewMnlM3YhpEKY2ekWNU39i4HSGQf7Aa+l xOvA== X-Gm-Message-State: APjAAAWtAgDmnIqLUaqSAtz3ckq2chRIE6oFxV7yxLwbWDLXMvSWkMxg RjFlWb6eNijCiiMQBZgjxZNaDrfxQXmZQjiTcI4= X-Google-Smtp-Source: APXvYqwvigJSAIDyVN1NYySAHgON2iny5vakKwZ0CBpQSTqbsdQ9bm92IUlOiFmUH4FjUY6MjV8ZrregqUmw0sNL5q0= X-Received: by 2002:a1c:e085:: with SMTP id x127mr2891946wmg.87.1553853541226; Fri, 29 Mar 2019 02:59:01 -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: <0c833502-1017-5432-f3d4-ac608d864a19@gmx.de> Date: Fri, 29 Mar 2019 10:58:50 +0100 Message-ID: To: "Christoph M. Becker" Cc: Benjamin Eberlei , Lester Caine , PHP Internals Content-Type: multipart/alternative; boundary="0000000000005b9ca2058538b8cf" Subject: Re: [PHP-DEV] Firebird - Who are WE ... From: krakjoe@gmail.com (Joe Watkins) --0000000000005b9ca2058538b8cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. 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 t= he > >> area that I can cope with. And many people reliant on it are in the sa= me > >> boat, just as they would not be able to contribute to writing code for > >> Firebird itself. While not perfect, what we have currently does it's j= ob > >> just as PHP5.2 still works on legacy hosting. PDO hopefully will remai= n > >> available, but re-writing 20 years worth of code base for that differe= nt > >> way of working has the same problem as finding resources to update the > >> 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 mode= , > > 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. Please > > 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 dec= lined; 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 > > --0000000000005b9ca2058538b8cf--