TXT file to PHP array

I’m trying to take a txt file (on server) and load it’s contents into a small array using PHP. The contents is a list of numbers separated by spaces (ex: 34 32 12 10 8). I actually only really need to load the first number, but the only way I know to isolate this number would be to put the whole list in an array. Any thoughts?