unexpected T_SL or your <<< text thing wouldn’t work
Posted 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.