title: How to add .json files to array, and echo one of these
body: <p>I have a couple of .json files on a server. i want to add them all to an array.</p>
  
  <pre><code>$jsonFiles = array(&lt;all the .json files&gt;);
  echo $jsonFiles[3]
  </code></pre>
  
  <p>And echo one of these. For testing purposes.</p>
  
  <p>i'm new to PHP, and dont know the syntax</p>
  
  <p>EDIT: i want to echo the content of the file</p>