No, I putting the full php code between the EOF codes.
Like you can see below.

If I remove <?php, the UBB accepts the change, but won't work on the page.


/* DO NOT CHANGE THE LINE BELOW */
$body = <<<EOF


<?php
if (@include('/usr/local/apache2/htdocs/imigrarorg/sponsor/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:2', 0, 'top', '', '1', $phpAds_context);
echo $phpAds_raw['html'];
}
?>



EOF;
/* DO NOT CHANGE THE LINE ABOVE */