summaryrefslogtreecommitdiff
path: root/Zend/tests/flexible-nowdoc-error2.phpt
blob: 0cc7330464070b52b93a7e4999b2c20ec1d889c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Flexible nowdoc 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