[PHP4BETA] Something broke with classes From: Andrei Zmievski (andrei <email protected>)
Date: 01/31/00

Something broke with classes when creating class vars dynamically.

<?

class foo {
    function foo() {
        $bar = "baz";
        $this->$bar = "test";
    }
}

$a = new foo;
var_dump($a);

?>

Should result in $a->baz being set to "test" (and it worked in couple
week old version), but it's not working now.

-Andrei
* E Pluribus UNIX. *

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>