On Thu, Feb 28, 2008 at 9:58 PM, Richard S. Crawford < rscrawford@xxxxxxxxxxxx> wrote: > I'm trying to figure out a way to make sure an included PHP file has no > syntax > errors before actually including it as a part of project. Is this even > possible? I'm running into brick walls. > > The include itself or the contents in the include file? If you use require() instead of include(), your script will error out if there are any issues with the inclusion of the file. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."