Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29078 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21848 invoked by uid 1010); 27 Apr 2007 16:36:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21833 invoked from network); 27 Apr 2007 16:36:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2007 16:36:00 -0000 Authentication-Results: pb1.pair.com header.from=david.coallier@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=david.coallier@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.248 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: david.coallier@gmail.com X-Host-Fingerprint: 209.85.132.248 an-out-0708.google.com Received: from [209.85.132.248] ([209.85.132.248:7095] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/53-29267-F6622364 for ; Fri, 27 Apr 2007 12:35:59 -0400 Received: by an-out-0708.google.com with SMTP id c28so682304ana for ; Fri, 27 Apr 2007 09:35:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=C30T03XlqHoKt9KmLRWt377e6ueGBdCGmq70ouNyEJtUmvWBYr8e9KphkC36I5i2axlO4ZboSpUol9P6dwGVTRjdPvfSpnO1YLKAEzgtLenAvBlaAa+QDQEEZBcEBVM9rE+pKUpjRdLNAMVh9Y4JqVFtkNrmZIfi06kRRXf60ps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=HGz2et0tWv2EqEQQ/q2YUNL/frOmIqh/rB5pL70bI9i1ZQJ/Ys4YVONftggPXwxEtJfTP2ez895kzk9a/D85hNk5erMN2G23td+RLLrQ3qqXeifpuC1JwxLkmVSiFYPjNnUc+nWwhLh0hPwbexVjmCHx/A4FYqRxJlFvgjVWwEo= Received: by 10.100.199.12 with SMTP id w12mr1960471anf.1177691757018; Fri, 27 Apr 2007 09:35:57 -0700 (PDT) Received: by 10.100.171.3 with HTTP; Fri, 27 Apr 2007 09:35:56 -0700 (PDT) Message-ID: Date: Fri, 27 Apr 2007 12:35:56 -0400 Sender: david.coallier@gmail.com To: "Tijnema !" Cc: "Antony Dovgal" , "Etienne Kneuss" , internals@lists.php.net In-Reply-To: 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> X-Google-Sender-Auth: 9001c36df45d0423 Subject: Re: [PHP-DEV] [patch] Dynamic access of static members/methods, and constants From: davidc@php.net ("David Coallier") +1 On 4/27/07, Tijnema ! wrote: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18