Re: Feature Request: inline pseudo-instruction
| From: | Lauri Kenttä | Date: | Tue, 04 Oct 2016 14:21:22 +0000 |
| Subject: | Re: Feature Request: inline pseudo-instruction | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96219@lists.php.net to get a copy of this message | ||
On 2016-10-04 14:33, Pascal KISSIAN wrote:
I have an application where a small file is included at multiple places. The include is done about an average of 100.000 times .I'm just wondering if you have ever heard of functions? You really should write a function, include it only once, and then simply call the function instead of repeatedly including the file. Calling a function is a lot faster than including a file. -- Lauri Kenttä