public/private variables in a php objects

[email protected] ("Kavinda") Sat, 21 Feb 2004 19:25:32 +0600
Newsgroups php.lang
Message-ID <[email protected]>
Hi,

Is there such thing as public/private variables in a php class? if there is,
how do i declare a private varable -- from what php version does this work
from?

Thanking in advace,
Suranga.