Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124251 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 750891A009C for ; Sun, 7 Jul 2024 07:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720336294; bh=Bk7bbBJZtWG+KF7QTAfWtg3ZGfTPtd7H1NSErF+chM8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=myntoCfm5Q94hU/J9GkNFvYGmE47+n8kNM/kJEIrnqNbqkxJoQDwKxO8yCy1qfGbu uPt5ROhU+mfGjOWy5/83mz7XKMKP0ojRxYEDtUWROF7lWHZ/Mb+8JiSK8qav/OgqTr Fwcqa7cmmISX8jdmifNZsUL5g6qeSirfVzO7gsGrqi1P2pM4HksG1i4slN8eeSRhsX zApGr5Yra5orxk67WAt4DG9gI4ySQojyHncUibbCOLCxre4D+m97qvaYw3GX72adNO wLBd/5BV7jxLK/xUGTuN2IJjaTKjufUnybCDOtdk5Nx7hTkXjLpTrJIC7c7lv4PqUX 9lpcIJehP+5kw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9EA3718004A for ; Sun, 7 Jul 2024 07:11:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: ** X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_50,BODY_8BITS, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 7 Jul 2024 07:11:32 +0000 (UTC) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-70b22b785aaso14529b3a.0 for ; Sun, 07 Jul 2024 00:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720336207; x=1720941007; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Bk7bbBJZtWG+KF7QTAfWtg3ZGfTPtd7H1NSErF+chM8=; b=UOi/q2XArUwohGdxL/2iFr2l4nG2/oPqiL6qk4ubExykIbjHqAhiYL+J927xbHwOdc Jwui7tjTGGa+70nTCgLa0jJs0xOtBR2FIuuvpWas0bqQCHs3jUVSdNU9aFZjUD9bgDRJ nIYblH98e5GK6a9xvTLbWOtmsSHaH44if2nyQgHVqpQlTJVu85E+2gJ2ZNj/dgW85iIe pG8m/AbM4Ol+Sbe8SrFNEjSC37j6zbd6DfrpqbGRocDMYRgHXgcp75S3rtjACkpxogfn bjmKhkMJ0XlYWivf+nfII+lF5gR7g3n4kaRUn1hIJ5X0zzT++0P1RU7gVECNpPakbajc KSlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720336207; x=1720941007; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Bk7bbBJZtWG+KF7QTAfWtg3ZGfTPtd7H1NSErF+chM8=; b=IFmB0JsMwkK8CNtNdNFWluHTUrUN6OlTypcMekUKJGh9X9rzb/8Pdwile9soBP0wlf J/IY4keBXiaNWpXnKS8lGWRGMvzQSicmPkxj5SYhFJQn9+d92C/nYeoOy0WnlO76Rt4F jhV2uvLQZG6Jot6/L/7rpOjqBc80xaQKz+IWmXifpsTV/6eGDM5QUDoOILH2OZW2ZuMA /Xxrm+8VQfiaFmgSpiO9DSFXUDA7x7W1lmCch2d2mK00UQ85xZ64Ch5+dpLCnPz5+z07 kUNVWBePOj0lVZLWXV1eI+KHalSwroOV/RHY56yBpgnl0QocyihsImRrv2IgBDpQC5mo gFaA== X-Forwarded-Encrypted: i=1; AJvYcCVxlEXhfBm77/0lWUSfSn4aGt4wVjR7ibIVR4+A+LwxRdXnUjlKmuDvN8wTUvSmNCx4d/cYNmhJmnerB1qacANzT6evsQIG4A== X-Gm-Message-State: AOJu0YxovKtCM+7fZ72qbp/1wMusAebtbU2A/AMn6meyB6oTEnbC1YgG s0hIElczuJJBUX42AkYeoqCu71TFbzpewWjAsUAIHQ44CUE9/5z7ymxPcUiXoQfVYcKkOTZfS0u RV4eeNHoQGrzs9kvPRz69GfEC6z0jp5Pt X-Google-Smtp-Source: AGHT+IEvAIiudo1Mz24NJ/fgAiszlRIvU2m1H4CXxSJWJzg32CPgsbdUP1A5Pm4goq9FYJrbhTB7aNJESWiRPB9q0Rw= X-Received: by 2002:aa7:9f1e:0:b0:705:d60f:e64e with SMTP id d2e1a72fcca58-70b00951e16mr9126513b3a.1.1720336206931; Sun, 07 Jul 2024 00:10:06 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 7 Jul 2024 15:10:30 +0800 Message-ID: Subject: Re: [PHP-DEV] [RFC]I'd like to see the RFCs that deprecate the FFI non-static approach start voting To: =?UTF-8?B?TcOhdMOpIEtvY3Npcw==?= Cc: Jordan LeDoux , shinji igarashi , "internals@lists.php.net" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: chopins.xiao@gmail.com (Szopen Xiao) 1. I only discovered this change when I pulled the master code when adding FFI::addrValue(). Also, I have submitted this improvement proposal PR on May 20, 2022, because I didn't push it forward because of my own network issues. 2. The reason why it is rude is because the implementation of the PR seems to me to be lazy. Simply shielding things in order to implement an RFC is like completing a KPI. I don't know if you have any doubts about looking at the lot of code like FFI::cdef()->new() in the FFI unit test file In my opinion, this is an open source project, and if there is no good beautiful solution, it is not an urgent matter, and it can be postponed M=C3=A1t=C3=A9 Kocsis =E4=BA=8E2024=E5=B9=B47=E6= =9C=886=E6=97=A5=E5=91=A8=E5=85=AD 20:36=E5=86=99=E9=81=93=EF=BC=9A > > I am the author of that "stupid" commit and RFC (https://wiki.php.net/rfc= /deprecate_functions_with_overloaded_signatures#fficast_ffinew_and_ffitype) > which you are referring to. I can understand that you are unhappy about t= he outcome of the RFC, but I would have happily incorporated your feedback > into the RFC if you had provided it earlier... Unfortunately, I didn't re= ceive better suggestions about the FFI related parts, so I went ahead with = what I > had in mind. > > That being said, I support your RFC. It seems like a better solution than= mine. However, I would ask you to change your tone to be less offensive, > because rudeness is not a welcomed behavior on the mailing list, and by t= he way, we have the same ultimate goal of improving PHP, even if you are > unsatisfied with a past decision of mine. > > Regards, > M=C3=A1t=C3=A9 Kocis >