Explanation for include/require functions behavior needed
<p>I did a lot of reading but I cannot answer one question I have with php include behavior.</p>

<p>On php.net it says that it looks into the directories that are in include_path variable. After that it looks in the current directory. If I put relative path (starting with dot) or absolute path it ignores the include_path. </p>

<p>So far so good.</p>

<p>I get confused when I see examples on the internet that start with something like that:</p>

<pre><code>include('LibName/SomeFile.php');
</code></pre>

<p>Would php take every path from include_path and append 'LibName/SomeFile.php to look for the file? What is the behavior? </p>
