RE: [PHP] what PHP really needs
| From: | Marlon Moyer | Date: | Sun, 25 Jan 2004 00:23:56 +0000 |
| Subject: | RE: [PHP] what PHP really needs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175657@lists.php.net to get a copy of this message | ||
I don't have a problem with this method. It would be nice though to be able
just set 1 application variable and be done with it.
> -----Original Message-----
> From: John W. Holmes
>
> Marlon Moyer wrote:
>
> > 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.
>
[Marlon Moyer]
This is something I wish CF had the ability to do.
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals - www.phparch.com
>
>