Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68270 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69855 invoked from network); 20 Jul 2013 11:53:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2013 11:53:56 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:52273] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/C4-13120-25A7AE15 for ; Sat, 20 Jul 2013 07:53:55 -0400 Received: from [192.168.2.20] (host-188-174-219-187.customer.m-online.net [188.174.219.187]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id E71AD65FBC; Sat, 20 Jul 2013 13:53:51 +0200 (CEST) To: Arpad Ray Cc: Lester Caine , PHP internals In-Reply-To: References: <1374256806.3946.101.camel@guybrush> <51EA0F30.3010609@rotorised.com> <51EA4240.7030707@sugarcrm.com> <51EA494E.40700@lsces.co.uk> Content-Type: text/plain; charset="UTF-8" Date: Sat, 20 Jul 2013 13:53:40 +0200 Message-ID: <1374321220.3946.121.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Language constructs and callability From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Sat, 2013-07-20 at 10:31 +0100, Arpad Ray wrote: > I agree this is a largely pointless can of worms, but here's my POC from > yesterday in case anyone wants to play with it: > https://gist.github.com/arraypad/6044439 *If* we want to provide a simple function for easy printing for callbacks and such it should not use the echo/print names. This messes with debugging etc. (mind: function names listed in xdebug's output, gdb breakpoint on zif_echo, our dtrace hooks will be misleading, ...) johannes