title: How to check if a file exists under include path?
body: <p>You get the current include path in PHP by using <code>get_include_path()</code></p>
  
  <p>I am wondering what is the lightweight way to check if the file can be included without issuing a PHP error. I am using Yii framework and I want to an import without issuing PHP error, but I fail.</p>