title: How to call php function from another file?
body: <p>I want to call my custom php function from my index.php, but the function is located in another file. Ho to do that ?</p>
  
  <p>Example :</p>
  
  <p>index.php :</p>
  
  <pre><code>&lt;?php
  
  myCustomFunction();
  
  ?&gt;
  </code></pre>
  
  <p>function.php</p>
  
  <pre><code>&lt;?php
  
  function myCustomFunction(){
  //some codes
  }
  
  ?&gt;
  </code></pre>
  
  <p>Thank you.</p>