require_once not showing parse errors

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lowmips
Forum Newbie
Posts: 1
Joined: Sat Nov 29, 2008 4:45 pm

require_once not showing parse errors

Post by lowmips »

Hi all,
I have some code that includes another file using the require_once function, however there were some parse errors in that file and my script simply died. There were no errors shown, the html output simply ended where the require_once call for that file was. I eventually figured out the problem by going line by line and commenting out code until I found the offending parse error.
Other code with parse errors definitely caused parse errors to show up on the webpage, so my question is this:

Why are there no parse errors being generated for the included code? Any ideas? Is there any PHP setting I should check?

Thanks,
lowmips
Post Reply