Re: Re: PHP 4.0 Bug #5289 Updated: Use of reset on a global array creates

From: Date: Fri, 30 Jun 2000 06:13:14 +0000
Subject: Re: Re: PHP 4.0 Bug #5289 Updated: Use of reset on a global array creates
Groups: php.dev 
Request: Send a blank email to php-dev+get-23005@lists.php.net to get a copy of this message
>> Have you considered: >> >> >> function whatever() { >> global $MyGlobalArray; >> >> >> $MyGlobalArray = array(); Yes, this would work too, and if you want to empty variable, and not to kill it altogether, you should always do this. Very good advice. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#23005) next »