summaryrefslogtreecommitdiff
path: root/Zend/tests/flexible-nowdoc-error4.phpt
blob: 650a9a94f72c8422b1c72b769756e8f2267e1fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Flexible nowdoc syntax error 4: not enough body indentation
--FILE--
<?php

echo <<<'END'
      a
     b
    c
     END;

?>
--EXPECTF--
Parse error: Invalid body indentation level (expecting an indentation level of at least 5) in %s on line %d