I have a question, regarding PHP4.
(I only have 5 right now)
can I assign a variable in a class by calling a method of the class? like so:
or will that give me an error?PHP Code:class bob{
var $name=$this->getname();
function getname(){
return "bob";
}
}



bob.kennedy


Bookmarks