Skip to content

Commit b10082f

Browse files
committed
Merge branch 'PHP-7.3'
* PHP-7.3: Fix failing Zend/tests due to newlines
2 parents d679f02 + 6b8605d commit b10082f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Zend/tests/flexible-heredoc-error7.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ Note: the closing ?> has been deliberately elided.
66
<?php
77

88
echo <<<END
9+
910
--EXPECTF--
1011
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

Zend/tests/flexible-nowdoc-error7.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ Note: the closing ?> has been deliberately elided.
66
<?php
77

88
echo <<<'END'
9+
910
--EXPECTF--
1011
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

0 commit comments

Comments
 (0)