Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18122 invoked from network); 29 May 2017 09:48:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 May 2017 09:48:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.218.41 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.218.41 mail-oi0-f41.google.com Received: from [209.85.218.41] ([209.85.218.41:35301] helo=mail-oi0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/D1-34073-46EEB295 for ; Mon, 29 May 2017 05:48:21 -0400 Received: by mail-oi0-f41.google.com with SMTP id l18so73231086oig.2 for ; Mon, 29 May 2017 02:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EUa7KEsrLbjTFyQRqRQtcGS3ceBT6TRQyzCZiHVv5vM=; b=Iu80dCC7q6L1a4SpvRAiOnricD6IHRBl5oT+8qs2Yu4LxKMSQKOc0w6lxSLZ/AWBTn ugM6AVsaNaPJVyhlw/b318pq+cqHGbRfguq5JHMsDGyh3oj+9trBpHD6IMnoYHNcSj2d 0AcEJMvzreJfFC6tdSlqmHaukst3n5YCVMpM4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EUa7KEsrLbjTFyQRqRQtcGS3ceBT6TRQyzCZiHVv5vM=; b=GL848kqsjldLIbaXvjSPKjN9GT4juUMqD9cixqU5jig4vi2IW0U1RaBbyimx5aZUjs kFshaZ7A3UrNIBtA/hz3OvzXUkCAlP+I3WahwhnaaSuhoiPsQwa0jFjzi8qPZnNWDX1V eoppBys9OYrWwBPKMA86n3l5F08RMyes+TvewEqEB0w5WR/w4PE8+Jh90GadxLIvrLDX q8Jl2XkCHrqZP7ijVUlCcMNDMYvzUdZxhkmn4SXfFRHk1lNuAi+tHgNBiHAbaUAA8rKW /BWLEjCwucHk7I3aU73p9he54CVQU6iGSFHfTfaFDDsPBooBS62ULhETo5ulKZvcndG6 WDeQ== X-Gm-Message-State: AODbwcCTygU3eGbYUgH4rN6XnVcgv1PkHf0nUVzcfW7dU3vO9Iv+ZlrM KSXjBe+H5VSyQIHNS/tpc/I4WNc2pcxIunI= X-Received: by 10.202.90.3 with SMTP id o3mr6879017oib.80.1496051298247; Mon, 29 May 2017 02:48:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.110.7 with HTTP; Mon, 29 May 2017 02:48:17 -0700 (PDT) In-Reply-To: <10E6F2E5-45E6-4D20-9DDD-F8C1632A8CA4@koalephant.com> References: <10E6F2E5-45E6-4D20-9DDD-F8C1632A8CA4@koalephant.com> Date: Mon, 29 May 2017 12:48:17 +0300 Message-ID: To: Stephen Reay Cc: Dan Ackroyd , "internals@lists.php.net" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC][Discussion] Consistent callables From: narf@devilix.net (Andrey Andreev) Hi, On Mon, May 29, 2017 at 12:28 PM, Stephen Reay w= rote: > > Regarding the big change you suggest, making protected/private methods re= turn false unless a new third parameter is true in is_callable(): > > I think you need to make your intention a *lot* clearer under the "Privat= e and protected functions no longer report as callable for is_callable=E2= =80=9D section. You make no mention of it being user controlled, simply =E2= =80=9Cthis will not work any more=E2=80=9D, until the next section. > I too noticed this, and the RFC content can be improved in general to be more easily understandable. But that being said, I wholeheartedly agree with the entire proposal. Cheers, Andrey.