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