php-src/Zend/tests/heredoc_008.phpt

18 lines
180 B
Plaintext
Raw Normal View History

2008-02-12 17:28:30 +08:00
--TEST--
empty doc test (heredoc)
--FILE--
<?php
require_once 'nowdoc.inc';
print <<<ENDOFHEREDOC
ENDOFHEREDOC;
$x = <<<ENDOFHEREDOC
ENDOFHEREDOC;
print "{$x}";
?>
--EXPECT--