php-src/Zend/tests/heredoc_008.phpt

18 lines
180 B
Plaintext
Raw Normal View History

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