Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66649 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57220 invoked from network); 15 Mar 2013 15:15:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2013 15:15:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=krebs.seb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=krebs.seb@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: krebs.seb@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:46659] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/41-51298-40B33415 for ; Fri, 15 Mar 2013 10:15:16 -0500 Received: by mail-wi0-f180.google.com with SMTP id hi8so619688wib.7 for ; Fri, 15 Mar 2013 08:15:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=WFJlpSNKKfwjig4OI7V9rCGwkKum1T5YfrYKjs9gaF8=; b=A1+RttKr/iPjOx3xf96xH7aLBhc9vv88yQniAUEr8JgCBgm4EVnXsBeQ8IKCS0N6fM sGT2ac03yHJMZaN6kpPVm39csKumorOSt1pA9hE1oSyvof7udE/UIXT7cDBnuyQx34jT XVeeqrP7BTYHv5rawHw9UuFnoUKznUp6tPK59iJJj2iVdYesIs7Llo8KpbA/GYOZJP57 VlSYG+rMOuFMAhb8uWquIORCAEl48Vugulaga/Bgqo8OcZIIhs1esSePK5RAc+knur5Q IfgBd+u3LhLMQFDZ4K9uMC1vRyO/h+T216dR1FM6tXTF/KwxG1J4ivPMAktF8FK1qCCJ VOBA== X-Received: by 10.180.108.3 with SMTP id hg3mr3822177wib.33.1363360512776; Fri, 15 Mar 2013 08:15:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.217.94.71 with HTTP; Fri, 15 Mar 2013 08:14:52 -0700 (PDT) In-Reply-To: <514338BA.10105@mrclay.org> References: <51432E01.7090502@mrclay.org> <514338BA.10105@mrclay.org> Date: Fri, 15 Mar 2013 16:14:52 +0100 Message-ID: To: Steve Clay Cc: PHP Internals Content-Type: multipart/alternative; boundary=e89a8f3ba6e310a33d04d7f81bd1 Subject: Re: [PHP-DEV] Allow all callables to be called directly From: krebs.seb@gmail.com (Sebastian Krebs) --e89a8f3ba6e310a33d04d7f81bd1 Content-Type: text/plain; charset=ISO-8859-1 2013/3/15 Steve Clay > My subject was misleading. I didn't mean to suggest call_user_func() be > removed, just be made unnecessary by direct call syntax. > > This should make the inconsistency clearer: http://3v4l.org/L8Yvq > > On 3/15/13 10:21 AM, Sebastian Krebs wrote: > >> You don't need to use it, if you don't like it. >> > > I do need to use in case my $callable is an object callback. > Well, I would agree, if it is wouldn't be already possible :) You simply defined your static method "wrong" http://3v4l.org/IrPTn I am unsure, if it useful to support "Foo::bar" too, because it doesn't give any further benefit compared to ["Foo","bar"] > > > Steve Clay > -- > http://www.mrclay.org/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- github.com/KingCrunch --e89a8f3ba6e310a33d04d7f81bd1--