Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63188 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17675 invoked from network); 20 Sep 2012 09:30:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Sep 2012 09:30:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=pete@the-echoplex.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pete@the-echoplex.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain the-echoplex.net from 208.113.200.5 cause and error) X-PHP-List-Original-Sender: pete@the-echoplex.net X-Host-Fingerprint: 208.113.200.5 caibbdcaaaaf.dreamhost.com Windows 98 (1) Received: from [208.113.200.5] ([208.113.200.5:57761] helo=homiemail-a57.g.dreamhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/B3-15057-D42EA505 for ; Thu, 20 Sep 2012 05:30:53 -0400 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id 4CD5F208063 for ; Thu, 20 Sep 2012 02:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=the-echoplex.net; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=the-echoplex.net; bh=8zP3GGPvWdhQXA6fIqsK YhlLbzM=; b=KlCTi4vQpvMghCC/F3cNp9ZcwEEQeL+tUSYijLSuyLzCAjnhAlnd ToCg4sC2sAykiWXbYCQgmHQawZSUYXOKkFWHL+WOYu+lcRmfYpvbTYGuNN8GwN3O uc6vjwivx9yObjtDdZZcyaPqliRyj9d1rT11eAi6PqniJ8Qwnht4OI0= Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: pete@the-echoplex.net) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTPSA id E3BB0208060 for ; Thu, 20 Sep 2012 02:30:49 -0700 (PDT) Received: by lbbgp3 with SMTP id gp3so2353442lbb.29 for ; Thu, 20 Sep 2012 02:30:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.86.164 with SMTP id q4mr456560lbz.133.1348133448131; Thu, 20 Sep 2012 02:30:48 -0700 (PDT) Received: by 10.114.26.72 with HTTP; Thu, 20 Sep 2012 02:30:48 -0700 (PDT) In-Reply-To: References: <50593266.5010802@mrclay.org> <5059FE96.7080406@ajf.me> <505A074C.70501@mrclay.org> <505A085E.1050808@ajf.me> <505A0D3F.3040604@mrclay.org> <505AD2D8.8090701@hoa-project.net> Date: Thu, 20 Sep 2012 10:30:48 +0100 Message-ID: To: Adam Harvey Cc: ivan.enderlin@hoa-project.net, internals@lists.php.net Content-Type: multipart/alternative; boundary=bcaec554d6e049271d04ca1ec74f Subject: Re: [PHP-DEV] RFC: alternative callback syntax From: pete@the-echoplex.net (Pete Boere) --bcaec554d6e049271d04ca1ec74f Content-Type: text/plain; charset=UTF-8 Tentative +1 for the func_name::callable version. callable seems more generic, and possibly more intuitive when scan reading code that contains lots of 'function'. class A { static function init() { $inst = new self; var_export ($inst->bar::callable); $inst->bar(); } function bar() { var_export (B::baz::callable); }} -- Pete Boere Web Developer --bcaec554d6e049271d04ca1ec74f--