title: Is using multiple PHP includes a bad idea?
body: <p>I'm in the process of creating a <a href="http://en.wikipedia.org/wiki/PHP" rel="nofollow noreferrer">PHP</a> site. It uses multiple PHP classes, which are currently all in one PHP include.</p>
  
  <p>However, I am using <a href="http://en.wikipedia.org/wiki/Aptana#PHP" rel="nofollow noreferrer">Aptana IDE</a>, and the file is now starting to crash it (it's around 400 lines). So I was wondering whether there would be any negative impact of including all the files seperately.</p>
  
  <p><strong>Current:</strong></p>
  
  <p>main file:</p>
  
  <pre><code>include("includes.php");
  </code></pre>
  
  <p>includes.php:</p>
  
  <pre><code>contains php classes
  </code></pre>
  
  <p><strong>Suggested:</strong></p>
  
  <p>mainfile: main file:</p>
  
  <pre><code>include("includes.php");
  </code></pre>
  
  <p>includes.php:</p>
  
  <pre><code>include("class1.php");
  include("class2.php")
  </code></pre>