* Thus wrote John W. Holmes:
> From: "Justin Patrin" <[EMAIL PROTECTED]>
> > > eval($script);
> > > use_cached_code();
> >
> > Ick! eval() is evil!
> 
> You have benchmarks to back that up or experience?
> 
> I did a benchmark between using include(), eval(), smarty, pattemplate, and
> a few others and include() and eval() are always the fastest.

you should add the create_function, aproach i used, in that
benchmark; I've never tested it but i think it'll probably beat
both in a tight looping situation :)

Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to