Hi Geoff,
@ 3:30:24 PM on 9/5/01, Geoff Caplan wrote:
I think I am being dumb but I just can't figure out a way to do this:
I have a static array inside a function, and I want caller to be able to
set/get values in the array.
Something like this:
?php
data_store( set,
Brian
Thanks for the response, but unless I am misunderstanding, I don't think
this is what I am after.
Just to restate, I want to set up a module as a static data cache. The main
function $my_cache will have a static array $data. There will be a set of
helper functions to set values into
Hi folks
I think I am being dumb but I just can't figure out a way to do this:
I have a static array inside a function, and I want caller to be able to
set/get values in the array.
Something like this:
?php
data_store( set, my_array['key1']['key2'], my new value)
function data_store(
3 matches
Mail list logo