Re: Bug #12826 Updated: session_unregister() array_walk() immune? :)
| From: | teo at gecadsoftware dot com | Date: | Sat, 18 Aug 2001 18:44:19 +0000 |
| Subject: | Re: Bug #12826 Updated: session_unregister() array_walk() immune? :) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63615@lists.php.net to get a copy of this message | ||
Hi mfischer!
On Sat, 18 Aug 2001, mfischer@php.net wrote:
> ID: 12826
> Updated by: mfischer
> Reported By: joustin@plusnet.pl
> Status: Bogus
> Bug Type: Session related
> Operating System: Win2000 SP2
> PHP Version: 4.0.6
> New Comment:
>
> If you want to stick to a one-liner, you can use
>
- array_walk($foo,create_function('$e','session_unregister($i);'));
+ array_walk($foo,create_function('$e','session_unregister($e);'));
;)
anywayz
-- teodor