Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37221 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18970 invoked from network); 25 Apr 2008 16:44:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2008 16:44:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=ekneuss@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ekneuss@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.44.28 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ekneuss@gmail.com X-Host-Fingerprint: 74.125.44.28 yx-out-2324.google.com Received: from [74.125.44.28] ([74.125.44.28:49334] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/F2-18287-28A02184 for ; Fri, 25 Apr 2008 12:44:50 -0400 Received: by yw-out-2324.google.com with SMTP id 8so16537yxm.83 for ; Fri, 25 Apr 2008 09:44:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=d75i35wbV9pDI3zc5egcWpL8N3XuvFedkQ0IVtLr8TQ=; b=iby8fVRF4KEbjlnLwbAVwhjiRoDeb879M8kVRO1JKNSVjTLIxXHZ2AN4GpcLOUoS7xSwAt81wAr9o7OoKG6TzkouvGvFWT8//Ed0WIBe6HinuYncXaP8C3v7Ds5lc+heY7lDaJ3FxXMmduo4tuhVCyv363XymAfTbefHkdFvlUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=mcAQpgietiKsqC7MCsoUwkafe6KLvakJ0lS1GElqd5Umyl410Qh8/JlLsdI0rmulcjwKhFOeO3ch0N9CN4njGqG8bDD6JvDaRflMOfnr/b+jH9Z1R+iH/YAKYaa5c6hKWensVGVs0EiAnn8UXAD1xmZ32UiwA3T3qNiebwrs9J4= Received: by 10.150.73.6 with SMTP id v6mr825484yba.115.1209141886915; Fri, 25 Apr 2008 09:44:46 -0700 (PDT) Received: by 10.151.40.10 with HTTP; Fri, 25 Apr 2008 09:44:46 -0700 (PDT) Message-ID: Date: Fri, 25 Apr 2008 18:44:46 +0200 Sender: ekneuss@gmail.com To: internals@lists.php.net In-Reply-To: <7dd2dc0b0804250853h780aabe8w40a16d52dfdf67b8@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3834_1098565.1209141886892" References: <7dd2dc0b0804250853h780aabe8w40a16d52dfdf67b8@mail.gmail.com> X-Google-Sender-Auth: eb3cdd2a034e20a4 Subject: Re: [PHP-DEV] issues with classnames, staic class members and constants as variables From: colder@php.net ("Etienne Kneuss") ------=_Part_3834_1098565.1209141886892 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, Are you using a custom and outdated build of 5.2.4 ? $classname::$member was introduced in php5.2.4 but removed before the actual release, and is now only present as of PHP5.3. Regards On Fri, Apr 25, 2008 at 5:53 PM, Nathan Nobbe wrote: > hello all, > > this is my maiden voyage on the internals list. recently i have discovered > functionality that existed in php-5.2.4 that missing in php-5.2.5 and also > php-5.2.6_rc3. i have posted to the php-general list and to the php-qa > list > and not received any sort of feedback about this discovery. primarily, in > php-5.2.4 variables could be used to hold the name of a class and used to > access static members (both attributes and methods) as well as constants. > there was other related support as well. please see the archived post on > the qa list for details, > http://marc.info/?l=php-qa&m=120901795414161&w=2 > there you will see i have prepared phpt tests and run them on php-5.2.4 and > php-5.2.6_rc3 installs. > > im curious if support was intentionally removed or if it was an oversight? > if so, is this something that could be forward ported from php-5.2.4? i > would be willing to work on a patch if that were the case. > > thanks, > > -nathan > -- Etienne Kneuss http://www.colder.ch Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascal ------=_Part_3834_1098565.1209141886892--