I've tried a lot of potential solutions, but none of them are working for me. The simplest one:

$file = file('list.html');
array_pop($file);

isn't doing anything at all. Am I doing something wrong here? Is it different because it's an html file?

php
Edit
Report