[pLog-svn] The use of constants
Ammar Ibrahim
ammar.ibrahim at gmail.com
Mon Apr 23 05:25:09 EDT 2007
On 4/23/07, Tsz Ming WONG <tszming at gmail.com> wrote:
>
> 1. if you don't use constant, what will you use? hard code them into the
> codes?
Global variables, or in PHP5 static class variables.
2. the real slow down is include_once() AFAIK
true, this is a slow down as well. In my profiling tests. include_once took
so much time, but less than define()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20070423/41069a1f/attachment.htm
More information about the pLog-svn
mailing list