Re: Performance question about create_function
| From: | troels knak-nielsen | Date: | Mon, 26 Oct 2009 14:31:56 +0000 |
| Subject: | Re: Performance question about create_function | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45882@lists.php.net to get a copy of this message | ||
On Mon, Oct 26, 2009 at 3:25 PM, Mathieu Suen
<mathieu.suen@easyflirt.com> wrote:
> Yes that the same but only for PHP <= 5.3.
> I am more asking about performance.
You mean PHP < 5.3 ?
In that case, I would strongly suggest that you use a procedural
style. create_function is slow, leaks memory and offers no
compile-time validation of syntax. It's also ugly as heck.
--
troels