Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42395 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48731 invoked from network); 29 Dec 2008 07:09:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Dec 2008 07:09:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=m2ys4u@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=m2ys4u@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.20 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: m2ys4u@gmail.com X-Host-Fingerprint: 209.85.219.20 mail-ew0-f20.google.com Received: from [209.85.219.20] ([209.85.219.20:60227] helo=mail-ew0-f20.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/15-18017-AA778594 for ; Mon, 29 Dec 2008 02:09:31 -0500 Received: by ewy13 with SMTP id 13so4861174ewy.23 for ; Sun, 28 Dec 2008 23:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=WYuJHMmw7lUXdIk1BJg3TJ3+VC37s8npxs8a/+EK+r0=; b=gePvj12y0k8E+umBVB2+/W8WmzyidiN/PWUdHeg23rztMbf0GTgOcdoChP0QU9pX+Z pFpxMU9KIvdCeuP5mUJzl0R6MG9/x4xWj+7KSw7SlSBCYb/Z4dwuNaZJWc5x5HizpiqJ 59rD47/WRUE6TZhjoQPOFR5PplcfER5zPPVeU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vTRNOyz9xfFzoNf9UlicRmxnwwY5r6ljojakz1gkGkTTnOp0tvuMPEBESBuK++fc1I J9giKfNH+N3bSq2LNrGykkhExcviuCX/YPHNBBE5FBKsHooKV+2wDI8Ho7/nLitAhhUa ihyR11t+VzGKM4Rmsi9C+3zb02tSyZk0Q8EU8= Received: by 10.210.59.3 with SMTP id h3mr15602874eba.98.1230534568183; Sun, 28 Dec 2008 23:09:28 -0800 (PST) Received: from ?192.168.1.107? (cpc2-rdng12-0-0-cust242.winn.cable.ntl.com [80.7.4.243]) by mx.google.com with ESMTPS id 5sm34363067nfv.58.2008.12.28.23.09.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Dec 2008 23:09:27 -0800 (PST) Message-ID: <495877AC.6070903@gmail.com> Date: Mon, 29 Dec 2008 07:09:32 +0000 User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Etienne Kneuss CC: =?ISO-8859-1?Q?David_Z=FClke?= , Lars Strojny , Stanislav Malyshev , PHP Internals References: <08AA10DA-2704-415C-8A8C-893C89990DC1@bitextender.com> <1230181883.12121.9.camel@localhost> <1943543F-9AE0-4F90-8417-F39175B19EB6@bitextender.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] __invoke() weirdness From: m2ys4u@gmail.com (Jack Allnutt) Etienne Kneuss wrote: > Finally, note that you can do that in userland using something looking like: > public function __call($name, $args) { return > call_user_func_array(array($this->$name, "__invoke"), $args); } It seems like it'd make more sense to allow *all* functions to be called using the 'normal' syntax without having to resort to that userland workaround.