Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23665 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58195 invoked by uid 1010); 25 May 2006 18:06:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58180 invoked from network); 25 May 2006 18:06:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2006 18:06:29 -0000 X-PHP-List-Original-Sender: edink@emini.dk X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:13157] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 66/DD-17316-422F5744 for ; Thu, 25 May 2006 14:06:28 -0400 Received: from [10.0.0.11] (gw1.emini.dk [212.242.124.121]) by gw2.emini.dk (Postfix) with ESMTP id DCCB2B332C; Thu, 25 May 2006 20:06:25 +0200 (CEST) Message-ID: <4475F224.9030508@emini.dk> Date: Thu, 25 May 2006 20:06:28 +0200 Organization: Emini A/S User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jasper Bryant-Greene Cc: Christian Schneider , internals@lists.php.net References: <138663365.20060514205903@marcus-boerger.de> <038d01c676f8$ab9b3380$6602a8c0@foxbox> <44685D24.2000801@php.net> <1147708994.14148.23.camel@notebook.local> <16710545416.20060515202714@marcus-boerger.de> <1147721541.14148.47.camel@notebook.local> <4468DB43.1020005@emini.dk> <7.0.1.0.2.20060515194051.02b32ef8@zend.com> <1148496966.19173.79.camel@notebook.local> <454303585.20060524213714@marcus-boerger.de> <44759A3A.9050106@album.co.nz> In-Reply-To: <44759A3A.9050106@album.co.nz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] fatal static call in php 6.0? From: edink@emini.dk (Edin Kadribasic) Jasper Bryant-Greene wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: RIPEMD160 > > Christian Schneider wrote: > >>PS: There are no plans to make non-static calls to static methods >>illegal, right? > > > What is the point in that? What advantage do you get using > $this->someMethodName() [non-static call] over self::someMethodName() > [static call]? You don't need to create an object to make a static call. MyClass::MyFunc() works without objects, which is much faster than creating an instance and then invoking a method on it. Edin