mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
26 lines
349 B
Plaintext
26 lines
349 B
Plaintext
|
--TEST--
|
||
|
Test false labels
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
require_once 'nowdoc.inc';
|
||
|
|
||
|
$x = <<<'ENDOFNOWDOC'
|
||
|
This is a nowdoc test.
|
||
|
NOTREALLYEND;
|
||
|
Another line
|
||
|
NOTENDEITHER;
|
||
|
ENDOFNOWDOCWILLBESOON
|
||
|
Now let's finish it
|
||
|
ENDOFNOWDOC;
|
||
|
print "{$x}\n";
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
This is a nowdoc test.
|
||
|
NOTREALLYEND;
|
||
|
Another line
|
||
|
NOTENDEITHER;
|
||
|
ENDOFNOWDOCWILLBESOON
|
||
|
Now let's finish it
|