note 93825 added to class.dir
| From: | emanueledelgrandeatemaildotit at osu1 dot php dot net | Date: | Thu, 01 Oct 2009 13:14:28 +0000 |
| Subject: | note 93825 added to class.dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161202@lists.php.net to get a copy of this message | ||
When creating custom solutions, use predefined PHP constants to shorten your code and improve
performances:
http://www.php.net/manual/en/reserved.constants.php
For example, DIRECTORY_SEPARATOR may replace a function in which you check PHP_OS to set if the
directory separator is "/" or "\\".
Cheers.
----
Server IP: 64.71.164.2
Probable Submitter: 217.29.162.7
----
Manual Page -- http://www.php.net/manual/en/class.dir.php
Edit -- https://master.php.net/note/edit/93825
Del: integrated -- https://master.php.net/note/delete/93825/integrated
Del: useless -- https://master.php.net/note/delete/93825/useless
Del: bad code -- https://master.php.net/note/delete/93825/bad+code
Del: spam -- https://master.php.net/note/delete/93825/spam
Del: non-english -- https://master.php.net/note/delete/93825/non-english
Del: in docs -- https://master.php.net/note/delete/93825/in+docs
Del: other reasons-- https://master.php.net/note/delete/93825
Reject -- https://master.php.net/note/reject/93825
Search -- https://master.php.net/manage/user-notes.php