Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102509 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51447 invoked from network); 28 Jun 2018 04:23:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jun 2018 04:23:13 -0000 Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain zend.com from 209.85.223.176 cause and error) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.223.176 mail-io0-f176.google.com Received: from [209.85.223.176] ([209.85.223.176:41531] helo=mail-io0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/C5-01794-CA2643B5 for ; Thu, 28 Jun 2018 00:23:10 -0400 Received: by mail-io0-f176.google.com with SMTP id k16-v6so3921266ioa.8 for ; Wed, 27 Jun 2018 21:23:08 -0700 (PDT) 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=8U/c7uOWCe65bdXLBdOokbPBQjbxKuUl4RMbhTVAzzg=; b=Wxdqi/WXlT7tX60cQpaRcpBYdoYJnJJjf1JQv87i+BvKzvLWKOYTXynidVrHplltwM EoiuJ110eDw/vifneJ5WLP0B79H9lN4jmNiLzLAMYwFOtZ4G8x+1Qc1gsHDcoyqtwRtP l5g6emwLt6ejdnapfcLUWfmV0kiGxrTRh7qG4/ofDXBb/Cejl/k/RobdbFj5n7ntPP4I CmBtDtiRARDtLh+dh6wCq8Jq4Q7+2oF1LF0VZADvSThIMsyZmRSMLaaho9ge/x1zz7mi e7rw/49SLaKce3hIy4WzM1+OaGkUbAuBtLdvvOCx8fshs9Xvox39POKvQuzDKPqtmSOb g3pg== X-Gm-Message-State: APt69E1rS8Glizo58Q5fyBTFcPVn9R3j7hpplcpglPY4kMD5GhIb1xgg MjG7rsNh9ywRz09g5bNGBo7sWMYz X-Google-Smtp-Source: AAOMgpcC7XnPQCm8qa0E+iTxFZPYSImVgXowpHAqQpgnPrUlmnKHvokAadsPngXhNF89xu9BuP5UHA== X-Received: by 2002:a6b:2286:: with SMTP id i128-v6mr7256007ioi.289.1530159786008; Wed, 27 Jun 2018 21:23:06 -0700 (PDT) Received: from mail-it0-f51.google.com (mail-it0-f51.google.com. [209.85.214.51]) by smtp.gmail.com with ESMTPSA id n124-v6sm2967450itg.7.2018.06.27.21.23.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jun 2018 21:23:04 -0700 (PDT) Received: by mail-it0-f51.google.com with SMTP id 128-v6so10729995itf.1 for ; Wed, 27 Jun 2018 21:23:04 -0700 (PDT) X-Received: by 2002:a24:2c03:: with SMTP id i3-v6mr6984984iti.90.1530159783684; Wed, 27 Jun 2018 21:23:03 -0700 (PDT) MIME-Version: 1.0 References: <15n3jdpoiprladjh50u6r2nn1hlmmvea3p@4ax.com> <87863116-5de1-c44d-d751-51e9327807f2@gmx.de> <66c6jdhurlnsaqlegs0epd56b7skj0n20v@4ax.com> <6fa23528-ddcd-d998-50cd-ddabcb038b45@gmx.de> In-Reply-To: <6fa23528-ddcd-d998-50cd-ddabcb038b45@gmx.de> Date: Thu, 28 Jun 2018 12:22:52 +0800 X-Gmail-Original-Message-ID: Message-ID: To: cmbecker69@gmx.de Cc: Jan Ehrhardt , PHP Internals Content-Type: multipart/alternative; boundary="0000000000005b3058056fac1625" Subject: Re: [PHP-DEV] Re: PHP 7.3 zif_handler changes From: laruence@php.net (Xinchen Hui) --0000000000005b3058056fac1625 Content-Type: text/plain; charset="UTF-8" Hey: On Wed, Jun 27, 2018 at 9:44 PM Christoph M. Becker wrote: > On 27.06.2018 at 08:47, Jan Ehrhardt wrote: > > > "Christoph M. Becker" in php.internals (Tue, 26 Jun 2018 13:15:32 > > +0200): > > > >> On 26.06.2018 at 08:42, Jan Ehrhardt wrote: > >> > >>> > https://github.com/php/php-src/blob/php-7.3.0alpha2/UPGRADING.INTERNALS > >>> > >>> pecl_http: > >>> |php_http_client_curl_user.c(190): error C2440: '=': cannot convert > from 'void (__cdecl *)(zend_execute_data *,zval *)' to 'zif_handler' > > > > Mike fixed pecl_http: > > > https://github.com/m6w6/ext-http/commit/512f733beac73f37ba4acbcf730ebc6c6de849b6 > > > > But we ran into another undocumented change: > > > https://github.com/m6w6/ext-http/commit/377d576a6e68def5708cf1ffcd3c233c4dddf356 > > `zval_ptr_dtor` had to be replaced by `zval_internal_dtor`. > > > >>> taint seems to have comparable errors. See > >>> > https://github.com/laruence/taint/commit/9debfe9682d22e172906cd2e7754a8380bf13453#commitcomment-29461798 > > > > I fixed taint: > > > https://github.com/laruence/taint/commit/9debfe9682d22e172906cd2e7754a8380bf13453#commitcomment-29510740 > > > >>> Can this be fixed and/or added to UPGRADING.INTERNALS? > >> > >> Apparently, zif_handler() has been changed to use the ZEND_FASTCALL > >> calling convention[1] which results in this incompatibility. Not sure > >> if that should be reverted, or just documented in UPGRADING.INTERNALS. > > > > Any news from the RM's on this? > > Well, I'm looking forward to hear from the engine guys. :) > FAST_CALL should only affects win32. and it can bring some improvement in win32.. People should use zif_handler instead of define there own from now on, I think documented it in UPGRADING is enough.... thanks > > -- > Christoph M. Becker > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Xinchen Hui @Laruence http://www.laruence.com/ --0000000000005b3058056fac1625--