summaryrefslogtreecommitdiff
path: root/Zend/tests/flexible-heredoc-error1.phpt
blob: 237386834b268d73474db7985a8e28a527bd5b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Flexible heredoc syntax 1: different indentation for body (spaces) ending marker (tabs)
--FILE--
<?php

echo <<<END
	   a
	  b
	 c
		END;

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