I've got an dynamically-generated PHP file that is included (via include) in other PHP script. When the first one (for some obscure reason) is generated with parse-errors, causes the main script parse-error an stop the execution.
Is there any way to detect parse errors when including a file so I can regenerate dinamically that file?
Thank you in advance