note 51166 deleted from function.require-once by nlopess
| From: | nlopess@php.net | Date: | Tue, 22 Mar 2005 15:46:37 +0000 |
| Subject: | note 51166 deleted from function.require-once by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-86795@lists.php.net to get a copy of this message | ||
Note Submitter: ulderico at maber dot com dot br
----
With both of your functions guys, Pure-PHP and jtaal at eljakim dot nl, you'll not have any
variables available GLOBALly if they're supposed to be globals...
That's why my import handles better those situation. OK, SOME MAY DISPUTE that using
include_once and require_once may slow down an application. But what's the use to do IN PHP
what the interpreter *should* do better for you. Thusly these workarounds shall, some time in the
future, DIE.
Thus It's better to well design your application to keep some order using few INCLUDES and
REQUIRES in it rather than insert MANY AND SEVERAL *_once around.