cvs: ZendEngine2 /tests bug44830.phpt

[email protected] ("Matt Wilmas")
Newsgroups php.zend-engine.cvs
Message-ID <cvsmattwil1210331134@cvsserver>
mattwil		Fri May  9 11:05:34 2008 UTC

  Added files:                 
    /ZendEngine2/tests	bug44830.phpt 
  Log:
  Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc)
  

http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/bug44830.phpt?view=markup&rev=1.1
Index: ZendEngine2/tests/bug44830.phpt
+++ ZendEngine2/tests/bug44830.phpt
--TEST--
Bug #44830 (Very minor issue with backslash in heredoc)
--FILE--
<?php

$backslash = <<<EOT
\
EOT;

var_dump($backslash);

?>
--EXPECT--
string(1) "\"

--UEXPECT--
unicode(1) "\"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.