> On the contrary, It will most likely require a lot of changes to
> provide structures that are able to store their execution context to
> be able to resume it later. I.e.
>
> function foo() {
>error_reporting(0);
>yield "foo";
>trigger_error("foo", E_NOTICE);
>yield "bar";
> }
> $
Hello,
On Tue, Jan 13, 2009 at 1:30 PM, moo.tinys wrote:
> this topic may be discussed before, but i'd bring it up again.
>
> closure was introduced in PHP 5.3, function with its context can now
> be stored in an callable object(or a handler in string type, whatever)
> i think it's easy and read