Browse Source

Fix failing Zend/tests due to newlines

pull/3639/head
Peter Kokot 7 years ago
parent
commit
6b8605d31f
  1. 1
      Zend/tests/flexible-heredoc-error7.phpt
  2. 1
      Zend/tests/flexible-nowdoc-error7.phpt

1
Zend/tests/flexible-heredoc-error7.phpt

@ -6,5 +6,6 @@ Note: the closing ?> has been deliberately elided.
<?php
echo <<<END
--EXPECTF--
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in %s on line %d

1
Zend/tests/flexible-nowdoc-error7.phpt

@ -6,5 +6,6 @@ Note: the closing ?> has been deliberately elided.
<?php
echo <<<'END'
--EXPECTF--
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in %s on line %d
Loading…
Cancel
Save