Closure serialization.
| From: | Richard Quadling | Date: | Tue, 07 Apr 2009 07:55:09 +0000 |
| Subject: | Closure serialization. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-43644@lists.php.net to get a copy of this message | ||
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?
Regards,
Richard Quadling.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"