--TEST--
Torture the T_END_NOWDOC rules (nowdoc)
--FILE--
<?php

require_once 'nowdoc.inc';

print <<<'ENDOFNOWDOC'
ENDOFNOWDOC    ;
    ENDOFNOWDOC;
ENDOFNOWDOC    
    ENDOFNOWDOC
$ENDOFNOWDOC;

ENDOFNOWDOC;

$x = <<<'ENDOFNOWDOC'
ENDOFNOWDOC    ;
    ENDOFNOWDOC;
ENDOFNOWDOC    
    ENDOFNOWDOC
$ENDOFNOWDOC;

ENDOFNOWDOC;

print "{$x}";

?>
--EXPECT--
ENDOFNOWDOC    ;
    ENDOFNOWDOC;
ENDOFNOWDOC    
    ENDOFNOWDOC
$ENDOFNOWDOC;
ENDOFNOWDOC    ;
    ENDOFNOWDOC;
ENDOFNOWDOC    
    ENDOFNOWDOC
$ENDOFNOWDOC;

