[eluser]MMacdonald[/eluser]
I'm creating my own library. Even though I run PHP 5, I'm coding to PHP 4 to keep it reusable. The gist of my problem is shown in the following pseudo-code - specifically, how do I get PHP 4 to make $property retain its value between function calls?
Code:
class library_example {
var $property="";
function write($value)
{
$this->property=$value;
}
function read()
{
return $this->property;
}
}