summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_server.c
diff options
context:
space:
mode:
authorThomas Punt <tpunt@hotmail.co.uk>2017-09-15 14:07:59 +0100
committerNikita Popov <nikita.ppv@gmail.com>2018-04-13 21:35:37 +0200
commit4887357269107ed669463c4b95bd755fbbb52490 (patch)
tree73299a5abe94fa24550dc0d3a56e41acb413a4f1 /sapi/cli/php_cli_server.c
parentdca2d9d56da93c9ce3862e8ffb66c729184d1e00 (diff)
downloadphp-git-4887357269107ed669463c4b95bd755fbbb52490.tar.gz
Implement flexible heredoc/nowdoc syntax
RFC: https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes * The ending label no longer has to be followed by a semicolon or newline. Any non-label character is fine. * The ending label may be indented. The indentation will be stripped from all lines in the heredoc/nowdoc string. Lexing of heredoc strings performs a scan-ahead to determine the indentation of the ending label, so that the correct amount of indentation can be removed when calculting the semantic values for use by the parser. This makes the implementation quite a bit more complicated than we would like :/
Diffstat (limited to 'sapi/cli/php_cli_server.c')
0 files changed, 0 insertions, 0 deletions