There is no way to keep data "in memory" without also having a process attached to it.
You will either have to stick the data into a file or into some kind of database.
If you want to be notified of file changes, keep a process running and look at the inotify modules.
In reply to Re: keeping something in memory after the end of script
by Corion
in thread keeping something in memory after the end of script
by swissknife
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |