Thread: Ode to PHP6
View Single Post
Old 11-03-2008, 03:50 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by farkedup View Post
I haven't even looked into it yet ;) I'm still pissed about coding in PHP4 support for so many things
Code:
if (version_compare(PHP_VERSION, '5.0.0', '<')) {
  var var;
} else {
  private var;
}
Don't worry.. We're gonna have Namespaces in 6, so, it'll look like:

Pear::Compat\Zend\Cocks!
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote