But I think the original question was about a tree that took a long time to create, and application variables would be a plus in this situation.....
Again, if you're just talking about reading, how hard is it to just do this to save:
$save_data = '<?php $array = ' . var_export($array) . '; ?>';
Now save that to a RAM disk and include() it whenever you need it recreated. You can do the same thing with objects, too.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php