Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93342 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48189 invoked from network); 15 May 2016 17:29:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2016 17:29:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.213.43 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.213.43 mail-vk0-f43.google.com Received: from [209.85.213.43] ([209.85.213.43:36781] helo=mail-vk0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/89-48938-5F1B8375 for ; Sun, 15 May 2016 13:29:26 -0400 Received: by mail-vk0-f43.google.com with SMTP id s184so189792141vkb.3 for ; Sun, 15 May 2016 10:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=cnwh5OssqpjAFgdmltZbHhn3o2Wg55pNM27bCD4LS2o=; b=H+cb6DY/h3BobXcmESy00bvRNLnUWCFqfG1ZmCkr1OTYyB8uFGwR79ZoG8lW3oVEke /39AkWLSblDMT43xttYrVbRg86Aq1qI+h+EE/SjN8rl5IUpuhHyXRNLdNM4rvOxK3+Vv L9M9GbG88feoTIrWfAFFG0gjWgIFKmGHTxY3t08UUlPNJdn3BD1uwKnlhpB/Do00eNqS Y1Zcip+fqrPF4d8r+FZ2WODK9B7LOvv8eTT1Jtdj8N38AUKNKa8A63ZQn2H97ZCLodEY fS35NBSKXqwsPyL3ZvDLLKFMJ5MSFU8OvlHqtmDR/b2ilRoPCQvaa4/V+UnSo3sR0pEn RkCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=cnwh5OssqpjAFgdmltZbHhn3o2Wg55pNM27bCD4LS2o=; b=AA/1aosCJYg5PLltEz3Dci3ZniRHhdmLMBrpHgHjpxTtBqAWEyE2ZSKG7NUf8oh/yk YjRO8+aO8P70oLwPVy6zavvTIgGiUiApHyli1eMDiWHVNbhL83xRh9b2hjYYv8ldE0E5 71HwVgYqO9bpPErAXGBMbBqM7L8JS1GpavPChbvKlDO913JAtq8NGm0an2Tvb6ylCzjO oXY7JlXZg5z89be0yPD0+GDxO9J/3Op+SxEQ8gCDmoCPiEaJrQigcqGTraT+cT9b5jUc Zy46dpSO+sqrQeOJCkBtddX9fC1JMj/aNA062E0U5RGV/hwwbwcOVGOdSbDs7cPE+kHK +wGQ== X-Gm-Message-State: AOPr4FUvWFEHO2xRG3mr0f3P/shA9Q8IUUn3CPBaIDKy18MhEb2/aTIP/08MMDOWbVYXFpYpnkjRW77+86Tq0w== MIME-Version: 1.0 X-Received: by 10.159.40.231 with SMTP id d94mr1251459uad.62.1463333362417; Sun, 15 May 2016 10:29:22 -0700 (PDT) Received: by 10.176.69.231 with HTTP; Sun, 15 May 2016 10:29:22 -0700 (PDT) X-Originating-IP: [78.149.15.25] Date: Sun, 15 May 2016 18:29:22 +0100 Message-ID: To: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: [RFC][VOTE] Closure from callable From: danack@basereality.com (Dan Ackroyd) Hello, I've opened the voting for the Closure from callable RFC - https://wiki.php.net/rfc/closurefromcallable Just to note, some people I've spoken to have expressed a desire to have a more powerful syntax where 'bare' function names are used, like: callable(someFunctionName) callable($this->method) I fully agree with those people, however I can't see anyway to do that before PHP 8. It would almost certainly need some clean up of the allowed syntax to disambiguate what `$this->method` means for: class Foo { public $method; public function method() { } } Leaving that top-level function name available for future versions, where we might be able to support it properly, is one of the reasons to use the more verbose function name. cheers Dan