Re: [apc] apc_store crash on circle reference?

From: Date: Thu, 29 Sep 2005 16:20:59 +0000
Subject: Re: [apc] apc_store crash on circle reference?
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3022@lists.php.net to get a copy of this message
Xuefer wrote: > <?php > $a = array(); > $b = array(); > $a['b'] = &$b; > $b['a'] = &$a; > apc_store('a', $a); > ?> > > crashes php, looks like a stack overflow > will it be supported in the further? any workaround? > a serialize() looks like no problem with $a gah! Don't do that. But yes, I guess a reference loop check could be added. Feel free to send a patch. -Rasmus

« previous php.pecl.dev (#3022) next »