Dependent Origination

unexpected T_SL or your <<< text thing wouldn’t work

Posted on: November 9, 2011

i have met this problem a couple times and had been always very puzzled on why sometimes $html = << provided i give proper closing TEXT at the beginning of a line.

I finally googled the answer today: it is because i have an extra space at the end of <<< TEXT! Phew. Mystery solved.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

November 2011
M T W T F S S
« Oct   Dec »
 123456
78910111213
14151617181920
21222324252627
282930  

Twitter

Flickr Photos

Advertisements
%d bloggers like this: