Re: Re: Dreaded Premature end of script headers
| From: | tamouse mailing lists | Date: | Fri, 26 Aug 2011 18:02:38 +0000 |
| Subject: | Re: Re: Dreaded Premature end of script headers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314623@lists.php.net to get a copy of this message | ||
On Fri, Aug 26, 2011 at 7:41 AM, David Robley <robleyd@aapt.net.au> wrote:
> tamouse mailing lists wrote:
>
>> I'm encountering this on a script, but I can't figure out where it's
>> actually failing. How do I debug this problem???
>
> Look first for unclosed curly braces {}
The script passes all syntax checks.
>
> You might find it useful to try an editor that does bracket matching and
> highlighting as an aid to finding the offending code.
I'm using TextMate which does this admirably well.