1
0
mirror of https://github.com/php/php-src.git synced 2026-04-16 20:41:18 +02:00
Files
archived-php-src/Zend/tests/nowdoc_012.phpt
Dmitry Stogov 87a8f72f49 Added NOWDOC
2008-02-12 09:28:30 +00:00

26 lines
349 B
PHP

--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