Works fine on my system. Make sure your includes don't have any exit statements in them. When a file is included it is as if the code is inserted at the point in which you include it, the code actually becoming part of the script.
If you use the return statment in an include it has the same effect as exiting the file you have included and returns execution to the next line of your original script.