Annotation of embedaddon/php/Zend/tests/heredoc_005.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: unbraced complex variable replacement test (heredoc)
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: require_once 'nowdoc.inc';
        !             7: 
        !             8: print <<<ENDOFHEREDOC
        !             9: This is heredoc test #s $a, $b, $c['c'], and $d->d.
        !            10: 
        !            11: ENDOFHEREDOC;
        !            12: 
        !            13: $x = <<<ENDOFHEREDOC
        !            14: This is heredoc test #s $a, $b, $c['c'], and $d->d.
        !            15: 
        !            16: ENDOFHEREDOC;
        !            17: 
        !            18: print "{$x}";
        !            19: 
        !            20: ?>
        !            21: --EXPECTF--
        !            22: Parse error: %s in %sheredoc_005.php on line 6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>