Re: Include documentation updates
| From: | Niel Archer | Date: | Wed, 12 Aug 2009 00:35:58 +0000 |
| Subject: | Re: Include documentation updates | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969380758@lists.php.net to get a copy of this message | ||
> All,
>
> After reviewing the to-do items I saw that the include() documentation
> needed to be updated. I took a stab at simplifying the first few
> paragraphs which mostly involved removing verbose text and
> simplifying. Since the change is fairly significant I wanted to
> solicit feedback from the group instead of simply committing it.
>
> If I don't hear any suggestions I'll assume that it works and I'll
> commit it.
>
I think that this:
- If filename begins with <literal>./</literal> or <literal>../</literal>,
it
- is looked for only in the current working directory or parent of the
- current working directory, respectively.
needs to be left in. Using either is important to stop the include path
being searched and so speed up include failures. This user land
optimisation should be included (no pun intended) in the documentation.
--
Niel Archer
niel.archer (at) blueyonder.co.uk