Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120908 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 15801 invoked from network); 15 Aug 2023 01:43:31 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Aug 2023 01:43:31 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C7AD61804C9 for ; Mon, 14 Aug 2023 18:43:29 -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.0 required=5.0 tests=BAYES_05, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 14 Aug 2023 18:43:26 -0700 (PDT) Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-1a28de15c8aso3848875fac.2 for ; Mon, 14 Aug 2023 18:43:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692063806; x=1692668606; h=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=OzVPgVJHrmC4ADt6UPM2dIMYBrAo8kvqAbNmDMeR0wg=; b=GafRMGWvEJQMc8c77x2G7+lz7qrVvs6Ch4YoxyCQNWXxFKfcl93gDthIojS9+l1pBK qcrGXBw8CHQgglV8TAO37L6LN/wuKUu3kgVGTE6/9XSf4+b4c39c/GRdQJ7b7UvFdpeV yTOIcTI7XcNKQHXPZZGljdn7anr38GV8qtkqvttMobeccidj2st7Ipd0JqPQIBXyh/Ai ip5HKAy4JfEP+NgQbD98QFQsECSXsB2cpBPCbc5UsSxNopqipIcqZ3imV6ZmpxoG82bE KTsvHAo+6IQVWT7nY+0UMLPFZTMkRL1KMcSS5gOPgVYv1nrxwVMfyEk2PpRqWeTFOwZE hwNQ== X-Gm-Message-State: AOJu0Yz4Q1mdi76DgZ5CbKuTa9bjqOfZcn9XWFUSOfq5lt04sezMhNlF 73PT4FgWfC5VhDnT3XFJ7ecEukgb0S5+n2CC1lazI4sRK02kyg== X-Google-Smtp-Source: AGHT+IE0m9uWh7SBMh3KSialcyQQu/+Iu90uood6/7PRwrO57JO8eYLQfTTXS+ZF4Qrkdxgf7xKdudkEx7UaIY3p+nQ= X-Received: by 2002:a05:6870:7314:b0:1bf:4a66:d54f with SMTP id q20-20020a056870731400b001bf4a66d54fmr11703593oal.56.1692063805707; Mon, 14 Aug 2023 18:43:25 -0700 (PDT) MIME-Version: 1.0 References: <64DA7ACC.1050909@adviesenzo.nl> In-Reply-To: <64DA7ACC.1050909@adviesenzo.nl> Date: Tue, 15 Aug 2023 04:43:14 +0300 Message-ID: To: Juliette Reinders Folmer Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Removing support for the disable_classes INI setting From: kalle@php.net (Kalle Sommer Nielsen) Hi Den man. 14. aug. 2023 kl. 22.05 skrev Juliette Reinders Folmer : > Hi George, > > For what its worth: in my experience, the `disable_classes` and > `disable_functions` ini directives are mostly used by hosting companies > providing shared/virtual host environments and, most often for those > environments, not editable by their users via a control panel or nor do > these users have (edit) access to the php.ini file. > > Declaring an ini directive in the php.ini file which has been removed > will instantly cause a fatal error on starting PHP, so I wonder what the > impact will be when a user switches PHP version (which they often can > choose to do via a control panel). This depends on whether we choose to explicitly mark the ini directive as one such. As the original implementor of that logic, it was meant as an upgrade tool for PHP 5.3.0 when we also reorganized the php.ini files, rather than have developers just copy over their old, non-working files over to cause unexpected features to still be available. So there is always the option to not enlist it there, though it would be ideal to do so to prevent developers from getting a false sense of "security", but that is just my personal take. -- regards, Kalle Sommer Nielsen kalle@php.net