mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
18 lines
180 B
Plaintext
18 lines
180 B
Plaintext
|
--TEST--
|
||
|
empty doc test (heredoc)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
require_once 'nowdoc.inc';
|
||
|
|
||
|
print <<<ENDOFHEREDOC
|
||
|
ENDOFHEREDOC;
|
||
|
|
||
|
$x = <<<ENDOFHEREDOC
|
||
|
ENDOFHEREDOC;
|
||
|
|
||
|
print "{$x}";
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|