View Single Post
Old 01-21-2008, 10:17 AM   #1 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Big Grin Is the double colon var resolution valid in an Argument?

title speaks for itself

PHP Code:
// yes yes, make the class etc etc
  
class TesterS
  
{
// Make a public constant so its open to the whole class(:S)
    
public const test "Its called a test";
    
    
// Since that value is a Constant and is set we do this, but could this be done
     
public function(self::test)
     {
     return 
self::test;
     }

// end james
  

This is well, pretty much a start where I am in Advanced Programming.. So

This is also speaking for parent::



Find the errors

James




UPDATE: oops sorry bout that >.< sorry
Orc is offline  
Reply With Quote