> Is there an easier way than having to manually place "global"
> in each function...??
It's not that hard :)
> Other than passing by parameter?
>
> Like is it possible to actually declare var's in PHP
> as global?
No. Consider arrays, constants, extract(), etc.
Regards,
Philip
--
PHP
Just one thing...
Is there an easier way than having to manually place "global" in each
function...??
Other than passing by parameter?
Like is it possible to actually declare var's in PHP as global?
thx..
:::
Julien Bonastre [T
function someCommand()
{
global $var1, $var2, $var3;
stuff();
}
I think you could also use define(); maybe..
Later,
Bob Weaver
"Paul Roberts" <[EMAIL PROTECTED]> wrote in message
00f301c1e311$fa421af0$dde5883e@laptop1">news:00f301c1e311$fa421af0$dde5883e@laptop1...
Is there a quick way to
3 matches
Mail list logo