I'm getting a file in PHP.
$arquivo = file_get_contents($_FILES['arquivo']['tmp_name']);
I want to know how do I get this file and put it in an array for every line break that it finds \ n .
For example:
Nome 1
Nome 2
Nome 3
Nome 4
I'll get these 4 names in a .txt file and put them in an array . The goal is to put all information in a vector and write them down.