Another problem turned out to be just because I had forgot to include the word "function" in a function declaration.
I mean, really -- at least throw me a bone by saying what line the problem is in, or what line the precompiler was digesting when it choked.
i use a php syntax checker in vim (syntastic) which has saved me many times
you may already know:
php -l <filename.php>
will give a boolean on file syntax
if nothing else, using a computer to set indentation on the file may reveal errors
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!