Re: functions versus includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 11, 2007 11:52 PM, Chris <dmagick@xxxxxxxxx> wrote:

> As I said, it's a micro-optimization *shrug*. 0.0004 seconds difference
> over 10 iterations - wow ;)
>

actually it was just one iteration; the output isnt very clear, but thats
the
value of a variable.
anyway, i was surprised to see the function was faster at all.  i though the
include would be faster.
so not only is the function faster (if only but a bit) its also cleaner as
well.
i think a decision between the 2 approaches no-brainer.

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux