flexible-nowdoc-error8.phpt 328 B

1234567891011
  1. --TEST--
  2. Flexible nowdoc syntax error 8: no ending token with explicit trailing space
  3. --FILE--
  4. <?php
  5. eval('<<<\'end\'
  6. ');
  7. ?>
  8. --EXPECTF--
  9. 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