Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98284 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97986 invoked from network); 10 Feb 2017 23:31:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2017 23:31:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.218.66 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.218.66 mail-oi0-f66.google.com Received: from [209.85.218.66] ([209.85.218.66:34453] helo=mail-oi0-f66.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/00-29023-E3D4E985 for ; Fri, 10 Feb 2017 18:31:12 -0500 Received: by mail-oi0-f66.google.com with SMTP id w144so3534700oiw.1 for ; Fri, 10 Feb 2017 15:31:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=I7bFlirlYiKOCO6DXt7Kkgem9XQyW04vRg5pz2bCa/s=; b=re0puJYlKr/xfhf10C/1KsbwodE9FJi3/h18yYvIEjO+7h8GbSZzCAdmhfFy4Lpn8Q 0uCPzU9+emobGtje48hgXzdJzhz4gbAufveoUEqURIa3uMsyJlHearhZNkCKJZpc3glh tkRIXcGfD/dETX66zhApOeR2jpNoiyW8pqnrDm2qrzTPOiRt9ym3Kih11ZoGVgpprILw KRHBaHNcRbDnKjk6Sxj23wvNuNVUAmtW6nOdg8rjmY40jq/hIfqo0tmgn1wCGyO3YPSC w6/D6/JXnP4EgvFEU+DEDEax0FOf1a5saRQEdttdVK2uFvCQ7KlSBvcHbPX2xmEbhSNq 9nEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=I7bFlirlYiKOCO6DXt7Kkgem9XQyW04vRg5pz2bCa/s=; b=GNbD5Tb4sJ8MHbuBXqnywatiW8lmJ3RYbjQF9/iiHXJ71BZ+QtgT+WPnkpLXc1Js3t qX4NPcA0S6I9FqevEzSloWpoWfvCf5W1jt+uHNUP9SfxldbSgxIJcNxzkrOJVzsfPnol qT8PL4wYxS6h/ncSwQdQKE8B6/wRBh7imm63sGcBBsXNEJyHsiFyeuaqBIJc0wvj2aAV VLtp2KR3pIWoUClFrScWjPnwc+ZdxtI1xff/2v24v0rFCvhlHtaV+zsQWltPwgHP8aPN dDfMIbFqk/IMKEvgxClOTZzLCrWiUGvMBw1OPpyreOEOs8bv2hk4IwzUWO7umwjgVSHe EZ0A== X-Gm-Message-State: AMke39kNnMgHpFpH15v96+BzlFrNZW+MK3IJa99+AoHS7IwiWPY0XjNMqiwBQAU/jwKBpiTtJBX+HGDs0TA1uw== X-Received: by 10.202.244.22 with SMTP id s22mr6371965oih.190.1486769468011; Fri, 10 Feb 2017 15:31:08 -0800 (PST) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.157.14.104 with HTTP; Fri, 10 Feb 2017 15:31:07 -0800 (PST) X-Originating-IP: [73.9.224.155] In-Reply-To: References: <4CD4DCCC-6643-4A66-B6AD-4BF0EF89FDA9@gmail.com> <1FC170E6-5207-45F3-8DF7-8B50787DCCA7@gmail.com> Date: Fri, 10 Feb 2017 18:31:07 -0500 X-Google-Sender-Auth: 09VWbpem2XNGaUJaLMqV9U3hoxM Message-ID: To: Ben RUBSON Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Improve (disable|enable)_functions #65386 From: pollita@php.net (Sara Golemon) On Fri, Feb 10, 2017 at 4:09 PM, Ben RUBSON wrote: > I was talking more specifically about the following : > "php_admin_value disable_functions mydisfunction" > phpinfo() shows mydisfunction as locally disabled, > but in reality can still be used. > Uh... that sounds like a bug. That should absolutely not be the case based on the code I'm looking at here. Unless you're thinking disable_functions should work on userspace code. It's only meant for disabling internal/extension functions. > Perhaps initial init time could be a little bit longer, but to the benefit > of non-slowed requests. > OK, understood, thank you ! > Perhaps. Again, not dug in enough to be confident we could get where you want to be without slowing down a hot codepath. > Any way to "officially" add these requests (#65386) to the development list ? > That's what the bug report is. If someone comes up with a good solution, I'm sure it'll be RFC'd, but we need a good solution first. -Sara