Home > Parse Error > Php Parse Error Unexpected T_sl

Php Parse Error Unexpected T_sl

Contents

Related 66Calling PHP functions within HEREDOC strings3PHP heredoc parse error-1Have trouble when using heredoc syntax in PHP0How to combine conditional check with php heredoc syntax?113What is the advantage of using Heredoc It makes it much, much easier to read and people are more likely to help you. asked 3 years ago viewed 1776 times active 3 years ago Related 1How to accurately parse smtp message status code (DSN)?20Parse error: syntax error, unexpected T_SL on line 237Syntax error, unexpected Any other ideas? $emailSubject = 'crazy php scripting!'; $webMaster = '[email protected]'; $email = '[email protected]'; /* This is the line i get errors from. */ $body = <<



Email:{$email}
EOD; $headers = "From: $email\r\n"; have a peek at these guys

Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name So look in your code and find that << item. The error is PHP basically coming to that line, not understanding what <<<_END; means, and dying. Reply With Quote 12-12-2006,02:27 PM #6 rincewind456 View Profile View Forum Posts .--..--...-.-.-..

T_sl Php

I tried to google it, but you can't google characters like that :( php share|improve this question asked Aug 6 '10 at 15:45 JD Isaacks 20.7k63224384 For other people When did the coloured shoulder pauldrons on stormtroopers first appear? if (λ x . Plus if your php environment is below 5.3, do not use double quotes or single quotes.

x x) has a type, then is the type system inconsistent? more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Languages posing to be used in large applications need to ensure that developers can quickly discern the cause of an issue. « Previous Sadness Sadness Index Next Sadness » Register Help Heredoc Php Teaching a blind student MATLAB programming How to improve this plot?

Ran right into another bug, so I'll have to see. –dwstein Jun 26 '12 at 14:05 add a comment| Your Answer draft saved draft discarded Sign up or log in share|improve this answer answered Aug 6 '10 at 15:50 David 2,4561216 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Output the Hebrew alphabet How do I "install" CentOS? http://stackoverflow.com/questions/17748582/parse-error-syntax-error-unexpected-t-sl Not the answer you're looking for?

You should only remove the tabs and spaces on the same line as END;. –Michiel Pater Mar 24 '11 at 8:35 add a comment| up vote 16 down vote Just had Reply With Quote 12-12-2006,12:07 PM #2 liquorvicar View Profile View Forum Posts Senior Member Join Date Jan 2005 Location Oxford, UK Posts 582 That sort of error usually implies a missing I have a new guy joining the group. Thesis reviewer requests update to literature review to incorporate last four years of research.

Syntax Error, Unexpected T_sl Heredoc

Cool with you getting this. –JakeGould Jan 5 '14 at 8:30 1 @ShankarDamodaran Oh. following is by doctype heading. T_sl Php Some are saying it’s a HEREDOC issue, but to doesn’t seem that simple. Php Eot Can a bike computer be used on the rear wheel?

share|improve this answer answered Jun 13 '12 at 22:13 penner 1,64411437 it helped me! http://setiweb.org/parse-error/php-parse-error-unexpected.php Do these physical parameters seem plausible? Teaching a blind student MATLAB programming How to heal religious units? How to heal religious units? Parse Error: Syntax Error, Unexpected End Of File In

T_SL references to <<. Reply With Quote Quick Navigation General Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums PHP Help General Help Newbies Database Install Coding Code Critique How to explain the existence of just one religion? http://setiweb.org/parse-error/php-parse-error-parse-error-unexpected-t-string-expecting.php I have this code running on 100s of sites but I have one customer who reports this error.

A movie about people moving at the speed of light Why does a full moon seem uniformly bright from earth, shouldn't it be dimmer at the "border"? Customer states he is running PHP 5.3.29 (nowdoc introduced in 5.3.0). if (λ x .

Advanced Search Forum PHP Help General Help [RESOLVED] Parse error: syntax error, unexpected T_SL If this is your first visit, be sure to check out the FAQ by clicking the link

share|improve this answer edited Mar 24 '11 at 8:30 answered Mar 24 '11 at 8:24 Michiel Pater 10.6k32846 I switched <<

As for using an underscore as the start character, I always use one and have never had a problem. Have a look at this huge warning. I have tried placing the end of the EOD on another line with no spaces and still doesn't work. news php mysql share|improve this question asked Jan 5 '14 at 8:09 pingboo23 62215 closed as off-topic by JakeGould, Wesley Murch, DavidO, Schleis, giammin Mar 20 '14 at 15:26 This question appears

As for using an underscore as the start character, I always use one and have never had a problem. What do you call "intellectual" jobs? Why don't cameras offer more than 3 colour channels? (Or do they?) Grayscale not working in simple TikZ Upper bounds for regulators of real quadratic fields How to add non-latin entries How can I wrap text into two columns?

I already tried echo<

So now I'm at a loss. Join Date Aug 2006 Location Ankh-Morpork Posts 14,504 Interesting: the heredoc manual entry says "...the identifier used must follow the same naming rules as any other label in PHP: it must Thanks Reply With Quote 12-12-2006,12:24 PM #4 NogDog View Profile View Forum Posts Visit Homepage High Energy Magic Dept. x x) has a type, then is the type system inconsistent?

Since you started the string with <<