note 68926 deleted from function.define by nlopess
| From: | nlopess@php.net | Date: | Fri, 15 Sep 2006 13:39:13 +0000 |
| Subject: | note 68926 deleted from function.define by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-117222@lists.php.net to get a copy of this message | ||
Note Submitter: php at stock-conaulting dot com
----
define() is a surpisingly expensive operation! If fast code execution is your primary concern, try
to avoid define(). You may, for example, use a class with a number of const definitions instead;
this will be significantly faster.