, so when these global variables in functions are assigned
a new reference, it breaks the old reference and makes them refer to the new
location, and the actual global variable is not affected.
But in contrast, if the global variables in the function are assigned a new
value, this does
"Ford, Mike" <[EMAIL PROTECTED]> writes:
> On 20 July 2005 23:40, Surendra Singhi wrote:
>
Thanks, for explaining it.
>>
>> (1)
>> When I try this code:
>> >
>> $var_global =" stuff";
>> function f1() {
>>
back its old value?
Is it something which is not defined by the PHP language reference and is
implementation specific? And in this case instead of giving the global
variable some junk value or null value, the implementation decides to store
the old values?
Thanks.
--
Surendra Singhi
http
3 matches
Mail list logo