Hacker News new | ask | show | jobs
by nolok 778 days ago
Agreed and just to be clear, fopen() returns false if an error happens. If you don't check your return values, it's not on php, you're just not very good at your job.