View Single Post

  #4 (permalink)  
Old 05-06-2008
Rik Wasmus
 
Posts: n/a
Default Re: Is PHP 6 released? If not, when will it be released?

On Tue, 06 May 2008 04:53:10 +0200, Michael Fesser <netizen@gmx.de> wrote:

> .oO(Erwin Moller)
>
>> The body of your message must contain some text.

>
> Please write your question in the _body_ of the message, not just in the
> subject.
>
> PHP 6 is still under development, you can get it from CVS. The next
> "major" public release will be PHP 5.3.


With the static keyword :)

class Foo {
static function Bar(){echo "in Foo";}
static function Test(){static::Bar();}
}
class Baz extends Foo{
static function Bar(){echo "in Baz";}
}
Baz::test();
--
Rik Wasmus
Reply With Quote