php-windows Digest 14 Apr 2012 07:57:23 -0000 Issue 4026
Topics (messages 30837 through 30840):
windows.php.net down?
30837 by: Tommy Pham
30838 by: Tommy Pham
30839 by: Pierre Joye
Re: unsetting variables
30840 by: Gavin Chalkley
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Hi,
Has anyone able to access the windows.php.net site?
TIA,
Tommy
--- End Message ---
--- Begin Message ---
On Wed, Apr 11, 2012 at 9:24 PM, Tommy Pham <tommy...@gmail.com> wrote:
> Hi,
>
> Has anyone able to access the windows.php.net site?
>
> TIA,
> Tommy
NVM, something must of happened for a minute there...
--- End Message ---
--- Begin Message ---
hi!
On Thu, Apr 12, 2012 at 6:25 AM, Tommy Pham <tommy...@gmail.com> wrote:
> On Wed, Apr 11, 2012 at 9:24 PM, Tommy Pham <tommy...@gmail.com> wrote:
>> Hi,
>>
>> Has anyone able to access the windows.php.net site?
>>
>> TIA,
>> Tommy
>
> NVM, something must of happened for a minute there...
Must have been a dns/external issue, no downtime visible there :)
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
R P,
I wasn't aware that they cleaned automatically(still learning)
From: r p [mailto:four.zero.one.unauthori...@gmail.com]
Sent: 14 April 2012 00:10
To: Gavin
Cc: php-wind...@lists.php.net
Subject: Re: [PHP-WIN] unsetting variables
You could do something like this...
foreach (get_defined_vars() as $var => $val) {
unset($$var, $var, $val);
}
But this would be completely unnecessary and redundant. At the end of a
function or on return, all variables and internal reference counts within the
scope of the function are essentially cleaned up or removed automatically, and
garbage collection takes care of it from there (see:
http://us.php.net/manual/en/features.gc.refcounting-basics.php). What
specifically are you trying to accomplish or what problem are you facing?
On Mon, Apr 9, 2012 at 12:01 PM, Gavin <gavin.chalk...@gmail.com> wrote:
Hello All,
Is there a way to unset all variables within a function?
Or has this got to be done on an individual basis?
--
Best Regards,
Gavin Chalkley
--- End Message ---