t'isnt good OOP practice to do what you want to do in the first place perhaps use the constructor to do it On Fri, 2005-01-28 at 12:50, Marek wrote: > php5 class { > > const _SOMETHING_ = 'test'; > > private $abc=_SOMETHING_; // fails, well actually anything fails > similar to this. > var $test=$test2; // also fails > > So since I can not use dynamic var assignment within the class declaration, > what are some of the easy solutions to this ? without making anything global > to the script ? > > Thanks -- Regards, Matthew Fonda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php