title: PHP - Read json from the file starting from the end
body: <p>I have got a variable <strong>$file</strong>, where i store json :</p>
  
  <pre><code>[{"text":"Sample text 1","time":"Monday 18th of September 2017 05:54:07 PM"},{"text":"Sample text 2","time":"Monday 18th of September 2017 05:54:12 PM"}]
  </code></pre>
  
  <p>Everything works fine, i am using </p>
  
  <blockquote>
    <p>$data = file_get_contents( $file );</p>
  </blockquote>
  
  <p>to read those data from the file. But i want to read it from the newest, thus from the end. Is it possible ?</p>