php-src/ext/tokenizer/tests
Thomas Punt 4887357269 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 :/
2018-04-13 21:35:37 +02:00
..
001.phpt Use int instead of integer in type errors 2018-02-04 19:08:23 +01:00
002.phpt
003.phpt
bug26463.phpt
bug54089.phpt Fixed bug #54084 (token_get_all with regards to __halt_compiler is not binary safe) 2011-11-08 04:59:17 +00:00
bug60097.phpt Fix tokenizer test to not depend on specific token numbers 2014-08-26 23:36:53 +02:00
bug67395.phpt add missing SKIPIF section on test 2015-04-30 03:03:29 -03:00
parse_errors.phpt Revert "Handle scanner error in first place (don't hide them from ext/tokenizer) and cheaper whitespace handlig." 2018-03-14 01:08:03 +03:00
token_get_all_basic.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_error.phpt ext tokenizer port + cleanup unused lexer states 2015-04-30 03:03:29 -03:00
token_get_all_heredoc_nowdoc.phpt Implement flexible heredoc/nowdoc syntax 2018-04-13 21:35:37 +02:00
token_get_all_TOKEN_PARSE_000.phpt Merge branch 'master' into throwable-interface 2015-06-14 18:53:11 -05:00
token_get_all_TOKEN_PARSE_001.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
token_get_all_TOKEN_PARSE_002.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
token_get_all_variation1.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_variation2.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_variation3.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_variation4.phpt Add T_YIELD in tokenizer_data.c 2012-07-22 20:32:56 +02:00
token_get_all_variation5.phpt Add T_YIELD in tokenizer_data.c 2012-07-22 20:32:56 +02:00
token_get_all_variation6.phpt Add T_YIELD in tokenizer_data.c 2012-07-22 20:32:56 +02:00
token_get_all_variation7.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_variation8.phpt Add T_YIELD in tokenizer_data.c 2012-07-22 20:32:56 +02:00
token_get_all_variation9.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_variation10.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_variation11.phpt Add T_YIELD in tokenizer_data.c 2012-07-22 20:32:56 +02:00
token_get_all_variation12.phpt Added __TRAIT__ magic constant [TRAITS] [DOC] 2011-07-31 17:39:30 +00:00
token_get_all_variation13.phpt Add T_YIELD in tokenizer_data.c 2012-07-22 20:32:56 +02:00
token_get_all_variation14.phpt a few typofixes 2014-02-14 14:51:10 +02:00
token_get_all_variation15.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_variation16.phpt Fixed bug #54084 (token_get_all with regards to __halt_compiler is not binary safe) 2011-11-08 04:59:17 +00:00
token_get_all_variation17.phpt fix test 2014-11-20 14:37:17 +01:00
token_get_all_variation18.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00
token_get_all_variation19.phpt Added: SKIP when tokenizer extension is not available 2011-07-31 16:35:09 +00:00