Re: Code References

From: Date: Mon, 19 May 2003 15:11:10 +0000
Subject: Re: Code References
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1710@lists.php.net to get a copy of this message
On Monday, May 19, 2003, at 09:23 AM, Sterling Hughes wrote:
On Mon, 2003-05-19 at 10:47, George Schlossnagle wrote:
Excuse my ignorance, but how does this differ from the features offered by create_function? (Other than having nicer aesthetics.)
create_function is runtime for one thing, this would be compile time (code reference, doesn't need to be relookedup).
Isn't that different semantics than the variable assignments everywhere else in PHP? Sounds like it's more of a constant....
And then of course there are aesthetics, its incredibly ugly to do anything remotely complex with create_function.
No argument on that one. :)

« previous php.internals (#1710) next »