Re: Closure serialization.

From: Date: Tue, 07 Apr 2009 08:38:50 +0000
Subject: Re: Closure serialization.
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-43645@lists.php.net to get a copy of this message
On 07.04.2009, at 09:55, Richard Quadling wrote:
Hi. Currently you cannot serialize a closure. That certainly makes sense. But would it be possible/feasible that a closure could be serialized if the value returned was the byte code used by the engine to execute the compiled closure? Or is this one of the "don't go there" ideas I sometimes get?
I guess its a dont go there thing, as you also run into trouble with "use"-d variables. regards, Lukas Kahwe Smith mls@pooteeweet.org

« previous php.internals (#43645) next »