History log of /PHP-7.3/Zend/zend_language_parser.y (Results 51 – 75 of 533)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1
# 438d17e7 26-May-2015 Xinchen Hui

Even fake token better to be in upper case


# 31f3eeb0 25-May-2015 Bob Weinand

Fix tokenizer test due to recent changes


# 69b54ba9 25-May-2015 Bob Weinand

Also unreserve T_CLASS


# 36c3c474 25-May-2015 Bob Weinand

Set %expect to 0 in parser (Using %prec)


# 21ccdf63 25-May-2015 Bob Weinand

Rebuild scanner, add NEWS/UPGRADING


Revision tags: php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40
# 11075938 05-Apr-2015 Márcio Almada

ext tokenizer port + cleanup unused lexer states

we basically added a mechanism to store the token stream during parsing
and exposed the entire parser stack on the tokenizer extension th

ext tokenizer port + cleanup unused lexer states

we basically added a mechanism to store the token stream during parsing
and exposed the entire parser stack on the tokenizer extension through
an opt in flag: token_get_all($src, TOKEN_PARSE).

this change allows easy future language enhancements regarding context
aware parsing & scanning without further maintance on the tokenizer
extension while solves known inconsistencies "parseless" tokenizer
extension has when it handles `__halt_compiler()` presence.

show more ...


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# a75decd4 09-Mar-2015 Márcio Almada

implement context sensitive language with lexical feedback

The implementation has no regression risks, has an even smaller footprint
compared to the previous attempt involving a pure lex

implement context sensitive language with lexical feedback

The implementation has no regression risks, has an even smaller footprint
compared to the previous attempt involving a pure lexical approach, is higly
predictable and higly configurable.

To turn a word semi-reserved you only need to edit the "SEMI_RESERVED" parser rule,
it's an inclusive list of all the words that should be matched as T_STRING on specific contexts.
Example:

```
method_modifiers function returns_ref indentifier '(' parameter_list ')' ...
```

instead of:

```
method_modifiers function returns_ref T_STRING '(' parameter_list ')' ...
```

TODO: port ext tokenizer

show more ...


# f2f890a2 26-Apr-2015 Nikita Popov

More cleanup (mainly retab)


# 49608e06 26-Apr-2015 krakjoe

Rebase Joe's anon classes implementation


# cc70a465 06-Apr-2015 Nikita Popov

Fix bug #60022


# a8bf1c5d 21-Mar-2015 Nikita Popov

Throw ParseException from lexer

Primarily to avoid getting fatal errors from token_get_all().

Implemented using a magic E_ERROR token, which the lexer emits to
force a parser fa

Throw ParseException from lexer

Primarily to avoid getting fatal errors from token_get_all().

Implemented using a magic E_ERROR token, which the lexer emits to
force a parser failure.

show more ...


# eeb8eced 16-Mar-2015 Xinchen Hui

Improved parser (make use_type reuseable)


# 22d6cc7c 07-Mar-2015 Márcio Almada

fix compilation warnings, rename batch_use to group_use


Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22, php-5.4.38, POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# 344fc25b 30-Jan-2015 Márcio Almada

require trailing T_NS_SEPARATOR #1005


# fbde890e 29-Jan-2015 Márcio Almada

allow non mixed use declarations, CC @nikic #1005

```
use function N\S { foo, bar, etc };
use const N\S { FOO, BAR, ETC };
```

Related tests:

```
make test

allow non mixed use declarations, CC @nikic #1005

```
use function N\S { foo, bar, etc };
use const N\S { FOO, BAR, ETC };
```

Related tests:

```
make test -j4 TESTS="-m Zend/tests/ns_0{88..92}*.phpt"
```

All namespace tests:

```
make test -j4 TESTS="Zend/tests/ns_*.phpt"
```

show more ...


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37
# 275e7276 19-Jan-2015 Márcio Almada

first implementation of batch use compilation


# b4a142ab 06-Mar-2015 Bob Weinand

Added yield from operator


# fcdb6e08 20-Feb-2015 Nikita Popov

WIP


# cbbaea08 29-Jan-2015 Andrea Faulds

Fix merge error


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# 75a225d0 27-Dec-2014 Andrea Faulds

Do not make scalar type hints reserved words, merely reserve class name


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# c3c0f531 13-Dec-2014 Andrea Faulds

Scalar type hints with ZPP casting rules


# e9f99e3d 09-Feb-2015 Márcio Almada

Márcio Almada remove dead tokens: T_CHARACTER, T_BAD_CHARACTER.


# d8b7a448 19-Jan-2015 Andrea Faulds

Fix associativity to match Perl


# 797dee59 19-Jan-2015 Andrea Faulds

Blast off to space.


# c8576c5a 08-Jan-2015 Levi Morrison

Implement return types

RFC is documented here: https://wiki.php.net/rfc/return_types


12345678910>>...22