[phc-general] php syntax error?

Edsko de Vries edsko at phpcompiler.org
Sat Nov 3 09:36:18 GMT 2007


Hi Arkadiy,

I am sorry, I am very busy at the moment and hardly get to spend any on
phc at the moment. However, 

On Sun, Oct 14, 2007 at 02:14:15AM +0400, Arkadiy Kulev wrote:
> Hello,
> 
> I have a code that I want to beautify (it is attached to this
> message), it works completely without any problems on my webserver.
> 
> but I get an error when I want to beautify it.
> 
> [root at f01 src]# ./phc --pretty-print --no-leading-tab /home/nightparty/www/photoalbums.src.php
> /home/nightparty/www/photoalbums.src.php:703: Error: syntax error, unexpected $end
> 
> Since the code works for me, I suppose it's a bug in the PHC.

this bug is now fixed (revision 832).

Edsko


More information about the phc-general mailing list