Becareful the heredoc!

today , i was spent half hour to find a bug, it said , Parse error: syntax error, unexpected ‘]’, expecting T_STRING or T_VARIABLE or T_NUM_STRING in xx line, i check that lline all words , on by one , cannot find the problem where it is , even i remove them , still has some error , check all file line by line , i found it ! because i run a function of emacs to indent line, so EOQ not in the very begin of line ! stupid me !

About caker

Welcome to WebCaker. My name is Zhang tongzhu( Nickname : Caker) . I'm 30-year-old, currently working as full time PHP web application developer and learn the iPhone development at same time.
This entry was posted in PHP and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>