Re: Code References

From: Date: Mon, 19 May 2003 14:47:45 +0000
Subject: Re: Code References
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1701@lists.php.net to get a copy of this message
Excuse my ignorance, but how does this differ from the features offered by create_function? (Other than having nicer aesthetics.) On Monday, May 19, 2003, at 09:16 AM, Sterling Hughes wrote:
Hi, I figure I'll just throw this out into the wilderness, I want closures and function pointers in PHP. In other words I want the ability to do: $var = function ($a, $b) {
    return $a + $b;
};


« previous php.internals (#1701) next »