Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16205 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25841 invoked by uid 1010); 10 May 2005 17:11:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88813 invoked from network); 10 May 2005 17:00:57 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 10 May 2005 17:00:57 -0000 X-Host-Fingerprint: 64.233.162.197 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.197:45141] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id A1/EE-35155-1C8E0824 for ; Tue, 10 May 2005 13:00:50 -0400 Received: by zproxy.gmail.com with SMTP id 9so1369808nzo for ; Tue, 10 May 2005 10:00:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cM6TodeOhuoB2uzMnI1ftylx2HhTr7FXgLn5v3tgi/7TuREBGZDsS0cGZNWqEDWcjJV04uXXN4PezNLDZzSwILGIuJvRucg5IUMMClkG7AzalI+X++JVw/UV2ZVwXefMcjyKkPa6xSJ6rq9wsSPhQdXN5youajdjw6Hs49s/+fc= Received: by 10.36.84.4 with SMTP id h4mr1594370nzb; Tue, 10 May 2005 09:33:55 -0700 (PDT) Received: by 10.36.34.5 with HTTP; Tue, 10 May 2005 09:33:55 -0700 (PDT) Message-ID: Date: Tue, 10 May 2005 18:33:55 +0200 Reply-To: Alex Knaub To: internals@lists.php.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4qdcz84j.fsf@random.internal> <427FA67E.2020506@omniti.com> <427FC9D1.1030607@php.net> Subject: Re: [PHP-DEV] Re: new overloading feature? From: aknaub@gmail.com (Alex Knaub) 2005/5/10, Sebastian Bergmann : > Lukas Smith wrote: > > http://bugs.php.net/bug.php?id=3D30235 >=20 > I agree with Marcus: self is bound at runtime, so the behaviour is > correct. If you do not like this late binding just do not use self but > the name of the class. I don't agree with Marcus. Singleton or the name of the class are ugly workarounds for this bug. Every genuine OOP and dynamic language (ObjC, Ruby, Smalltalk) bounds self at runtime.