I am writing my first PHP application, and I noticed that I've been doing pretty well with just require_once. It ensures the code I'm trying to include is included, and it never duplicates.
But being new to PHP, am I wrong to think this? Can anyone give me a situation where require, include or include_once would be better?
To responders, please don't give me a link to the online PHP manual, I've seen it. My purpose for making this post is just to get a feel if other PHP programmers feel the same way, and if not, I'm hoping to get their thoughts.