> Are heredocs supported by PP 5.2.3 running in WinXP/Apache2.2.4 ?
> I prrint via heredocs and its not working. Print with single quotes and
> double quotes work.
>
>               <p>
>               <h6>string init method 3: heredocs</h6>
>               <?php
>                       print <<< END
>                               Test
>                       END;
>               ?>
>               </p>
>

This won't work because you've indented the closing identifier. Read the big
Warning box at
http://uk2.php.net/manual/en/language.types.string.php#language.types.string
.syntax.heredoc

Edward

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to