Re: closures questions

From: Date: Tue, 22 Jul 2008 20:08:11 +0000
Subject: Re: closures questions
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-39196@lists.php.net to get a copy of this message
Hi!
so do we even want the toString() method?
IMHO we should drop toString from Closure.
Maybe it could return some relevant information for exporting the closure across data
not a huge biggy to me.
I don't think Closure can be meaningfully exported. Can we prohibit it?
I guess this is a draw back from the OO approach (rather than the original resource approach), but solvable?
I think we can make working clone there - just copy all data, etc. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#39196) next »