# HEREDOC garbage in Dreamweaver

**URL:** <https://forum.kirupa.com/t/heredoc-garbage-in-dreamweaver/148471>\
**Category:** Uncategorized\
**Created:** [May 20, 2005, 3:03am UTC](https://forum.kirupa.com/t/heredoc-garbage-in-dreamweaver/148471 "2005-05-20T03:03:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cadmiumgreen](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@cadmiumgreen](https://forum.kirupa.com/u/cadmiumgreen)\
**Post date:** [May 20, 2005, 3:03am UTC](https://forum.kirupa.com/t/heredoc-garbage-in-dreamweaver/148471/1 "2005-05-20T03:03:08Z")

</div>

ok, HEREDOC syntax doesn’t work for some reason in Dreamweaver MX 2004. ( I have a Mac by the way.)

here is the code in Dreamweaver…

\<?php  
[//heredoc.php](https://heredoc.php)

$content = \<\<\<EOD  
this is heredoc.  
EOD;  
echo $content;  
?\>

…as a result I received a parse error.

very simple code…i type the very same code in vim and saved it. launched it. and it worked…

Is there something i can fix in Dreamweaver to fix these HEREDOC problems?

thank guys!  
cadmiumgreen
