summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-15 05:04:29 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-15 05:04:29 +0200
commit6b8605d31f7f4b099a2a79d3d9bf0bcd607472af (patch)
tree88b4e66b4159477a9fe7863f725b0e282f2894f1
parentb746e6988743b46ccb0542d5d568eef0608ee296 (diff)
downloadphp-git-6b8605d31f7f4b099a2a79d3d9bf0bcd607472af.tar.gz
Fix failing Zend/tests due to newlines
-rw-r--r--Zend/tests/flexible-heredoc-error7.phpt1
-rw-r--r--Zend/tests/flexible-nowdoc-error7.phpt1
2 files changed, 2 insertions, 0 deletions
diff --git a/Zend/tests/flexible-heredoc-error7.phpt b/Zend/tests/flexible-heredoc-error7.phpt
index ef52490305..ae9d1da0cd 100644
--- a/Zend/tests/flexible-heredoc-error7.phpt
+++ b/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
diff --git a/Zend/tests/flexible-nowdoc-error7.phpt b/Zend/tests/flexible-nowdoc-error7.phpt
index d68dab85b6..27d5dbb46e 100644
--- a/Zend/tests/flexible-nowdoc-error7.phpt
+++ b/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