[pmwiki-users] php globals q.
noskule at gmx.net
Thu Oct 2 07:50:23 CDT 2008
I would like to use variables in a function. Normaly I achive this by
declaring varX as global.
global $X $Y $Z
The problem is know that I use a set of variables in a couple of
functions an I would like to avoid adding/changing these global
variables in each function. So my question. Is it possible to declare a
set of variables without writing every variable name, instead use an
array or function to declare them, something like:
thanks for any hints
More information about the pmwiki-users