Annotation of embedaddon/php/ext/standard/tests/general_functions/highlight_heredoc.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: highlight_string() handling of heredoc
! 3: --INI--
! 4: highlight.html=#000000
! 5: --FILE--
! 6: <?php
! 7: $str = '
! 8: $x=<<<DD
! 9: jhdsjkfhjdsh
! 10: DD
! 11: ."";
! 12: $a=<<<DDDD
! 13: jhdsjkfhjdsh
! 14: DDDD;
! 15: ';
! 16: highlight_string($str);
! 17: ?>
! 18: --EXPECT--
! 19: <code><span style="color: #000000">
! 20: <br />$x=<<<DD<br />jhdsjkfhjdsh<br />DD<br />."";<br />$a=<<<DDDD<br />jhdsjkfhjdsh<br />DDDD;<br /></span>
! 21: </code>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>