summaryrefslogtreecommitdiff
path: root/Zend/tests/flexible-heredoc-error1.phpt
blob: dc56d4f8ed40d74390fa4065d2a7c2ecf99cfc6b (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