//usually this means missing ' or " in a statement echo 'xyz; //this will cause unexpected t_string error echo 'xyz 'ax'';//this will cause unexpected t_string error