php-src/Zend/tests/heredoc_008.phpt
2008-02-12 09:28:30 +00:00

18 lines
180 B
PHP

--TEST--
empty doc test (heredoc)
--FILE--
<?php
require_once 'nowdoc.inc';
print <<<ENDOFHEREDOC
ENDOFHEREDOC;
$x = <<<ENDOFHEREDOC
ENDOFHEREDOC;
print "{$x}";
?>
--EXPECT--