Hello php-general, I have such code:
class A { var $xxx; function print() { echo $xxx; } } And that's what I get: "Parse error: parse error, expecting `T_STRING' in xxx.php on line nn" Php doesn't let any function or class member have a name which is already "used" by another function (or only function from library), am I right? Or maybe "print" has special status. Maybe that's because print() is actually not a function? Can anyone tell me something about that, please? -- Best regards, Olexandr Vynnychenko mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]