Date: 12/31/98
- Next message: Didier Legein: "[PHP3] Happy New Year from the PHP NEWS LEDGER"
- Previous message: Andrey Zmievski: "[PHP3] ereg_replace and numbers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If I wanted to access class vars from class functions dynamically, can I do
this?
class test
{
var $abc = "some value";
function p()
{
$var = "abc";
print ${"this->".$var}
}
}
Doesn't seem to work...
-Andrey
* E Pluribus UNIX. *
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev <email protected>
- Next message: Didier Legein: "[PHP3] Happy New Year from the PHP NEWS LEDGER"
- Previous message: Andrey Zmievski: "[PHP3] ereg_replace and numbers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

