View Single Post
  #4 (permalink)  
Old 07-27-2007, 05:56 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,119
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
Quote:
I found this great, simple resource on PHP 6: Poo-tee-weet - blog
Wow, that's a great resource TeraTask!
I just looked a glace about PHP6 from the link, it seems that it will have a little bit of change in the class declaration, and it supports inheritance (more like a real language instead of scripting language!)

PHP Code:
class {
static function 
staticA() { static::static2(); }
static function 
static2() { echo "A::static2\n";}
}
class 
extends {
static function 
static2() { echo "B::static2\n"; }
}
B::staticA(); 

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!

Last edited by HelloWorld : 07-27-2007 at 05:58 PM.
Reply With Quote