Re: Code References
| From: | Zeev Suraski | Date: | Mon, 19 May 2003 15:15:44 +0000 |
| Subject: | Re: Code References | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1715@lists.php.net to get a copy of this message | ||
At 16:46 19/05/2003, Sterling Hughes wrote:
Nope. Its evaluated at runtime, compiled at compile time. Whereas create_function() is compiled and evaluated at runtime.That's only an advantage for create_function. It doesn't get evaluated unless it's necessary. Like your suggestion, it gets compiled just once. I think that this whole thread originates in a misperception as to how create_function() works. Zeev