PHP Classes

Receive "unexpected $end" error

Recommend this page to a friend!

      True Color Picker 2  >  All threads  >  Receive "unexpected $end" error  >  (Un) Subscribe thread alerts  
Subject:Receive "unexpected $end" error
Summary:Unexpected $end error
Messages:2
Author:Daniel Jaeger
Date:2009-02-21 14:45:16
Update:2009-02-21 17:08:02
 

  1. Receive "unexpected $end" error   Reply   Report abuse  
Picture of Daniel Jaeger Daniel Jaeger - 2009-02-21 14:45:16
Hi,

I receive an unexpected $end error at including the class.
The exact error is: "Parse error: syntax error, unexpected $end in \trunk\www\classes\color_picker\class.EzyColorPicker.php on line 96"

I looked at the file, but I can't see any missing bracket etc.

Is this error known by you/anyone?

BTW: The server is using PHP 5.2.4

Thanks
Daniel

  2. Re: Receive "unexpected $end" error   Reply   Report abuse  
Picture of Daniel Jaeger Daniel Jaeger - 2009-02-21 17:08:03 - In reply to message 1 from Daniel Jaeger
Reason found...
After a while I've seen that there are Shorttags (<? ?>) and short echoes.
These were the reason why I got the unexpected $end error.

Cheers
Daniel