History log of /php-src/Zend/zend_language_scanner.l (Results 151 – 175 of 537)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 819e6659 23-Mar-2017 Sara Golemon

Merge branch 'PHP-7.1'

* PHP-7.1:
Fix bug where `yield from` is captured too greedily


# 7835e2eb 23-Mar-2017 Sara Golemon

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
Fix bug where `yield from` is captured too greedily


# 0fb640c7 23-Mar-2017 Sara Golemon

Fix bug where `yield from` is captured too greedily

In the following piece of code:

```php
function from1234($x) {
return $x;
}
function foo($x) {
yield from

Fix bug where `yield from` is captured too greedily

In the following piece of code:

```php
function from1234($x) {
return $x;
}
function foo($x) {
yield from1234($x);
}
```

The statement inside foo is taken as `yield from` `1234($x)`
which is neither the intent, nor even legal syntax for an fcall.

Do a lookahead for breaking non-label characters after the
`yield from` and only accept it if they occur.

show more ...

# fec708f5 22-Mar-2017 Nikita Popov

Simplify increment_lineno handling

Revision tags: php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017

# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017

# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017

Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1
# 2cc3aeb4 27-Sep-2016 Christoph M. Becker

Implement #72918: negative offset inside a quoted string leads to parse error

We allow negative numeric offsets for the simple syntax inside
double-quoted and heredoc strings.

# 0e4c1733 12-Oct-2016 Nikita Popov

Merge branch 'PHP-7.0' into PHP-7.1

(cherry picked from commit 26964ccea0f52ed4d6beda3bcfd1508f6d3dad43)

# 5b429fef 12-Oct-2016 Nikita Popov

Fix line number of implicit return in pseudo-main scope

Revision tags: php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# 07af6ba8 22-Jul-2016 Nikita Popov

Make sure TOKEN_PARSE mode is thread safe

Introduce an on_event_context passed to the on_event hook. Use this
context to pass along the token array. Previously this was stored
in a n

Make sure TOKEN_PARSE mode is thread safe

Introduce an on_event_context passed to the on_event hook. Use this
context to pass along the token array. Previously this was stored
in a non-tls global :/

show more ...

Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8
# ebb99a1a 21-Jun-2016 Dmitry Stogov

Fixed compilation warnings

Revision tags: php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7, php-5.6.22RC1, php-7.0.7RC1
# 95af467d 29-Apr-2016 Sara Golemon

Raise compiler warning on octal overflow

Addresses https://bugs.php.net/bug.php?id=71994

# ccf18da4 12-May-2016 Dmitry Stogov

Eliminated checks for (func->op_array.fn_flags & ZEND_ACC_GENERATOR) in fast path of DO_FCALL* handlers.
This slightly improves calls to regular function and method calls in cost of a bit slower

Eliminated checks for (func->op_array.fn_flags & ZEND_ACC_GENERATOR) in fast path of DO_FCALL* handlers.
This slightly improves calls to regular function and method calls in cost of a bit slower generator initialization.
Separate call frame for generators, allocated on heap, now created by ZEND_GENERATOR_CREATE instruction.

show more ...

# c19cb70d 06-May-2016 Dmitry Stogov

Revert "Refactor zval cleanup into single function"

This reverts commit bac6fdb0c52c924e726c5a78de8858bf27b6586b.

# bac6fdb0 05-May-2016 Bob Weinand

Refactor zval cleanup into single function

Also use zval_ptr_dtor_nogc() everywhere in Zend in favor of zval_dtor()

Revision tags: php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5
# 660e88c1 25-Mar-2016 Andrea Faulds

Fix bug #71897

Revision tags: php-5.6.20RC1, php-7.0.5RC1
# 35b34d72 06-Mar-2016 Nikita Popov

Merge branch 'PHP-7.0'

Conflicts:
Zend/zend_language_scanner.c


# 860dc17a 06-Mar-2016 Nikita Popov

Fixed bug #71724

Revision tags: php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 56365982 02-Jan-2016 Xinchen Hui

Merge branch 'PHP-7.0'


# 97a9470d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2

Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8
# 998204ef 12-Nov-2015 Dmitry Stogov

Separate common part of compile_file() and compile_string() into zend_compile()

Revision tags: php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11
# a49ce7bb 09-Jul-2015 Nikita Popov

Don't return T_ERROR from token_get_all()

This turned out to be rather inconvenient after all. Instead just
return the same output we did on PHP 5. If people want to have an
error, u

Don't return T_ERROR from token_get_all()

This turned out to be rather inconvenient after all. Instead just
return the same output we did on PHP 5. If people want to have an
error, use TOKEN_PARSE.

show more ...

# d91aad59 09-Jul-2015 Nikita Popov

Fix bug #69430

Don't throw from token_get_all() unless TOKEN_PARSE is used. Errors
are reported as T_ERROR tokens.

Revision tags: php-5.5.27, php-5.4.43
# a1a83bf5 07-Jul-2015 Aaron Piotrowski

Switch code on thrown TypeError and ParseError to 0, update related tests

12345678910>>...22