title: php explode new lines content from a txt file
body: <p>I have txt file with email addresses under under the other like :</p>
  
  <pre>test@test.com
  test2@test.com
  </pre>
  
  <p>So far I managed to open it with <pre> $result = file_get_contents("tmp/emails.txt");</pre> but I don't know to to get the email addresses in an array. Basically I could use explode but how do I delimit the new line ?
  thanks  in advance for any answer !</p>