summaryrefslogtreecommitdiff
path: root/Zend/tests/flexible-heredoc-error2.phpt
blob: ad410d6b2abe5c2ad3cafabc04608ba24a270197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Flexible heredoc syntax 2: mixing spaces and tabs in body
--FILE--
<?php

echo <<<END
    	a
    	b
    	c
     END;

?>
--EXPECTF--
Parse error: Invalid indentation - tabs and spaces cannot be mixed in %s on line %d