Page 1 of 1

v1.3.0 - /system/startup.php - possible bug?

Posted: Thu Jul 23, 2009 4:15 pm
by rmac
Hi,

Please have a look at the snippet below.

// Register Globals Fix...

...foreach ($globals as $global) {
foreach(array_keys($global) as $key) {
unset($$key);//looks like an error to me...

Is that '$$key' right?

regards

rmac

Re: v1.3.0 - /system/startup.php - possible bug?

Posted: Thu Jul 23, 2009 8:15 pm
by Daniel
yes its correct!

Re: v1.3.0 - /system/startup.php - possible bug?

Posted: Fri Jul 24, 2009 1:44 pm
by rmac
Hi,

Sorry about the false alarm.

I'm just coming up to speed in PHP;could you explain the significance of the $$var notation. I can't seem to find it in the manual.

Thanks

rmac

:)