KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've been developing with PHP for some years now, and recently came across this code: <?php echo <<<EOB <html> <head> <title>My title</title> </head> ... EOB; ?> I've never seen this approach to print HTML, which seems to be pretty useful and less prone to some weird variable or double quote syntax error. I've searched for some official information about this and only found a post of Rasmus talking about this. What is a detailed explanation about this functionality and what does EOB mean? Maybe end of block ?
Tags (comma-separated)
Save Edits
Cancel