On Sat, 2004-05-15 at 06:24, Richard Shaffer wrote:
> class test {
>   var $a;
>   var $b = "goodbye";
>   function c($arg) {
>     $this->$a = $arg;
>     echo "<p>a = " . $this->$a . "</p>\n";
>     echo "<p>b = " . $this->$b . "</p>\n";
>   }
> }

$this->$a should be $this->a
same with '$b': $this->$b should be $this->b

-- 
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to