Re: Re: __autoloading and functions

From: Date: Mon, 11 Sep 2006 21:35:31 +0000
Subject: Re: Re: __autoloading and functions
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-25624@lists.php.net to get a copy of this message
On 9/11/06, Terje Slettebø <tslettebo@broadpark.no> wrote:
Please, people: The availability of free (non-member) functions in PHP (as in C/C++) is one advantage it has over Java, where everything _has_ to be a class. So in Java, instead of being able to write "sqrt(<number>)", you have to write "Math::sqrt(<number>)". Always.
Actually, Java recently added static import to deal with that very annoyance.... ;) Regards, Michael

« previous php.internals (#25624) next »