Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29072 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78472 invoked by uid 1010); 27 Apr 2007 13:30:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78457 invoked from network); 27 Apr 2007 13:30:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2007 13:30:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=tijnema@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tijnema@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.243 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tijnema@gmail.com X-Host-Fingerprint: 209.85.132.243 an-out-0708.google.com Received: from [209.85.132.243] ([209.85.132.243:3456] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/E8-29041-F0BF1364 for ; Fri, 27 Apr 2007 09:30:57 -0400 Received: by an-out-0708.google.com with SMTP id c28so618406ana for ; Fri, 27 Apr 2007 06:30:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YsgLLtWQC51EmpEDKzPjIAVr+cucKELuu8A2CLdsLX7QzZWS8Wobj22aj7SUPdg1PcyE+ejdDZzSjwjPWX2sMuCl0BORrvI0CKOIFtzxRWmi8djmFExK+GXpJkN+5vYOLpKEwSH1m87IVXDZcyN0DDTxp7l98p3QIhjG/ceBnAM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=spQTyfBMmgNKJh79Jmu4gxcIOh0jIEK6sKV1x6xFkziJ7W/ECMmrWcxN+0MS0IG6quNIAqCp545n4pMgqvrIl5xKbVHjECtpesUEXgMjnivLGnnwMCC83w6igPLEGkvyUnRxjm97oFicgljt9Cmwh3iu5r+Esgz6sawLVOWMXt4= Received: by 10.101.1.13 with SMTP id d13mr2015360ani.1177680653151; Fri, 27 Apr 2007 06:30:53 -0700 (PDT) Received: by 10.100.43.17 with HTTP; Fri, 27 Apr 2007 06:30:52 -0700 (PDT) Message-ID: Date: Fri, 27 Apr 2007 15:30:52 +0200 To: "Antony Dovgal" Cc: "Etienne Kneuss" , internals@lists.php.net In-Reply-To: <4631F277.60406@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4631EE73.4050409@php.net> <4631F277.60406@zend.com> Subject: Re: [PHP-DEV] [patch] Dynamic access of static members/methods, and constants From: tijnema@gmail.com ("Tijnema !") On 4/27/07, Antony Dovgal wrote: > On 04/27/2007 04:37 PM, Etienne Kneuss wrote: > > Hi, > > > > I've already proposed that 1-2 months ago, but now seems to be a good > > time to discuss new things, so let's try again: > > > > I believe it would be nice to be able to dynamically reference static > > members, constants, and methods. > > > > Currently, there is no way to do that and the only way would be to > > create a static method and use call_user_func(array($classname, 'getThat')); > > > > In other words: > > I'm +0 if it's for HEAD only. > > Also I can see only two tests at the moment, we'll need MUCH more. > There are so much combinations to test: unicode & binary strings, numbers, arrays, objects, booleans etc. etc. > > -- > Wbr, > Antony Dovgal > There are actually 3 tests.... Tijnema