note 90018 added to function.include-once
| From: | (krozinov[at]gmail) | Date: | Thu, 02 Apr 2009 02:40:14 +0000 |
| Subject: | note 90018 added to function.include-once | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152733@lists.php.net to get a copy of this message | ||
Just a note about the post below from nospam at freeproxylist dot org:
As of PHP 5.3.0, you'll have access to the magic constant: __DIR__.
So you won't need to call dirname(__FILE__).
This should improve performance because now you won't need to call a function, but just use a
constant instead.
Konstantin Rozinov
krozinov [at] gmail
----
Server IP: 208.69.120.35
Probable Submitter: 24.185.59.176
----
Manual Page -- http://www.php.net/manual/en/function.include-once.php
Edit -- https://master.php.net/note/edit/90018
Del: integrated -- https://master.php.net/note/delete/90018/integrated
Del: useless -- https://master.php.net/note/delete/90018/useless
Del: bad code -- https://master.php.net/note/delete/90018/bad+code
Del: spam -- https://master.php.net/note/delete/90018/spam
Del: non-english -- https://master.php.net/note/delete/90018/non-english
Del: in docs -- https://master.php.net/note/delete/90018/in+docs
Del: other reasons-- https://master.php.net/note/delete/90018
Reject -- https://master.php.net/note/reject/90018
Search -- https://master.php.net/manage/user-notes.php