Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114979 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 22482 invoked from network); 21 Jun 2021 15:36:09 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Jun 2021 15:36:09 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 62FCB1804D0 for ; Mon, 21 Jun 2021 08:54:11 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 21 Jun 2021 08:54:10 -0700 (PDT) Received: by mail-ot1-f44.google.com with SMTP id 102-20020a9d0eef0000b02903fccc5b733fso18171750otj.4 for ; Mon, 21 Jun 2021 08:54:10 -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; bh=kIJ6J5EtY6ASQjR7FS4bXFKOb4RleLEIe3yDH5V0SYY=; b=J08IjOPwXngfdyfuAmXcSYTykpyfGGfMbdPINVwAxh6jbkz4oFokJ2jHaVdIZzviCj PnI6WrVo4QeaK+sLpqwOyYcUxpKih7Xq+0vXw7bC84UNqeAlhCvNkXyCQupbOdBRfphf ks+7tjSvhqLkWZwKCKqn67AS9Tq8k1Epll11xqlRLc6csgdRpNAIdLAGMdcJ3KGplepE 66FbCEHswFKnS/3N8BTqiej3erVGwkvvpnOF/LKzFzQr8oiXm7TBEGgrzeVdEkiK603I L4a7QSkL+gbp8PVWcnxRlomEMlZzdEAZWiexqx8PqUk6MOxbcFxbcdp37+DzMH8NVdV8 OhhA== 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; bh=kIJ6J5EtY6ASQjR7FS4bXFKOb4RleLEIe3yDH5V0SYY=; b=kpeftW7KzPCRaN0GNJVm6BAkzSUTTe4QKGW6+wQV7qIZCGDrBgIt7Y4gqRMYBVp+xN zSfkUClry4tMMbh3p3zJnyYk3nqouNNGF2/IDS5E3EDliQUnlGDj39KfdPlr7BxvYo2q 9Xey7QoZLdXNi2i0UmIh1XR9hzXNhVQVuCbKoL2rGNBjJa5iomLM3gQlpfMDEMRYs75Q mQibZtvYgo6Ij8YL6SjjAtIxWotrVE+RCzPMjYTva6FLoNw5QaYyCozo1FRdt3CgAghP Qcp/6o12qjXGn4Isd9qYn0JJmcBiOJkldgeFElFkpi8HoiIIn9XXsOQOwJPvBZ722CBI sGfQ== X-Gm-Message-State: AOAM530DSnuY3GXjNknJsLFNqT+opUhBR9qQ8Vj6tDHm7r5qTKlseO7v 9JLhJWRkwBZ3V1ORJ1ptY7cKDDHew+bMZr/W6CPG1+HklX8cyhNI X-Google-Smtp-Source: ABdhPJxFgoOlw+SABlIn4E7XUP7kp3QWqbFCiw90zX64QQnycBw2/Xi82xVozQgsgnpFLIUC3rGLNRwjlcWi98fvIWA= X-Received: by 2002:a9d:73d6:: with SMTP id m22mr21313760otk.148.1624290848204; Mon, 21 Jun 2021 08:54:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 21 Jun 2021 17:53:56 +0200 Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary="00000000000004eb9405c548afe7" Subject: Re: [RFC] make Reflection*#setAccessible() no-op From: ocramius@gmail.com (Marco Pivetta) --00000000000004eb9405c548afe7 Content-Type: text/plain; charset="UTF-8" Hey folks, On Sun, Jun 13, 2021 at 6:44 PM Marco Pivetta wrote: > Hey folks, > > I'm posting here to introduce a new simplification, as well as > quality-of-life-improving RFC: > > https://wiki.php.net/rfc/make-reflection-setaccessible-no-op > > The RFC is quite minimal, and proposes removing any runtime behavior from > `ReflectionMethod#setAccessible()` and > `ReflectionProperty#setAccessible()`, making `ReflectionMethod` and > `ReflectionProperty` accessible by default. > Since feedback has been relatively minimal and positive, I will likely start voting tomorrow, since I don't want trouble with any upcoming 8.1 deadline (plus I'll otherwise just forget). Greets, Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --00000000000004eb9405c548afe7--