Posted by reandeau on 05/15/06 23:16
Found a work around to dyanmically calling a classes static member. Try the following with eval: $className = "test1"; eval('$instance = ' . $className . '::$staticVar;'); echo "test: $instance"; Let me know how it goes. Jon Tjemsland
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming