History log of /php-src/Zend/zend_language_parser.y (Results 126 – 150 of 639)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 9662259c 28-Apr-2016 Levi Morrison

Add nullable parameter types

This works off of Dmitry's commit for nullable return types

# 49fe737e 06-Apr-2016 Dmitry Stogov

Implement nullable return types.

# 0aed2cc2 01-May-2016 Pierrick Charron

Allow catching multiple exception types in a single catch statement

This commit add the possibility to catch multiple exception types in
a single catch statement to avoid code duplicatio

Allow catching multiple exception types in a single catch statement

This commit add the possibility to catch multiple exception types in
a single catch statement to avoid code duplication.

try {
// Some code...
} catch (ExceptionType1 | ExceptionType2 $e) {
// Code to handle the exception
} catch (\Exception $e) {
// ...
}

show more ...

# 5c7903f4 07-Apr-2016 Nikita Popov

Merge branch 'PHP-7.0'


# 5ab950cb 07-Apr-2016 Nikita Popov

Remove __halt_compiler from semi-reserved tokens

token_get_all() is not capable of dealing with this one correctly.

Revision tags: php-5.6.20, php-5.5.34, php-7.0.5
# 37c8bb58 25-Mar-2016 Andrea Faulds

Allow specifying keys on list() elements

Squashed commit of the following:

commit 0361dbe35616722fbe51b446ab7b43a9ca01f455
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Mar

Allow specifying keys on list() elements

Squashed commit of the following:

commit 0361dbe35616722fbe51b446ab7b43a9ca01f455
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Mar 25 16:59:20 2016 +0000

UPGRADING and NEWS

commit dca9d4a36c845bfe4fbcb9db18e184469110ea5a
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Mar 25 16:45:18 2016 +0000

Add tests contributed by @jesseschalken

commit e557f77eab692ed8bb18dbdff48777d80b6f6cbd
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Mar 25 16:44:51 2016 +0000

Rebuild VM

commit 70942e4c3cbb6b4fe6305b27e1e1b2bed78e76df
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Feb 24 13:12:26 2016 +0000

Add test for evaluation order of nested list() keys

commit ed3592e80c5231d9e9a95558aa768a42b75bdebc
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Feb 24 12:42:04 2016 +0000

Add test for evaluation order

commit 589756cbcccbb4702c90b5aa9c091af446058ca1
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 19 17:29:34 2016 +0000

Allow arbitrary expressions for key

commit 3f622077c32fcd82fcf27a41bd0f22e2552ec4c5
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 19 17:45:10 2016 +0000

Remove compile-time HANDLE_NUMERIC (see bug #63217)

commit bab758119aec63289a2c5bef6a5f90a7bc6441a2
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Jan 17 01:20:26 2016 +0000

Handle numeric strings

commit 14bfe93ddc34d1175bccb42a158be8842c472a9c
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Jan 17 01:09:36 2016 +0000

Allow trailing comma

commit f4c8b2cb30fc074b15b5f7aabef5444382403b5d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Jan 16 23:47:11 2016 +0000

Add tests

commit 0085884a6176c3a981b53131fbb4fa0c44db2670
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Jan 16 22:24:23 2016 +0000

Handle non-integer/string opcodes

commit e572d2d0ada6a64b36a2c6f5e8cb57439f51b55e
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Jan 16 21:10:33 2016 +0000

Disallow mixing keyed and unkeyed list() elements

commit cede13ccfe0c486591fa84764271ac1b8cb90d0b
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Jan 10 20:46:44 2016 +0000

list() with keys (no foreach or tests)

show more ...

Revision tags: php-5.6.20RC1, php-7.0.5RC1
# d9f0c842 11-Mar-2016 Nikita Popov

Merge branch 'PHP-7.0'


# ccc5150f 11-Mar-2016 Grigorii Sokolik

Fix bug #71767

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
# a75c1950 08-Dec-2015 Dmitry Stogov

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com

Implemented the RFC `Support Class Constant Visibility`.

Squashed commit of the following:

commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:38:42 2015 +0300

Fixed test expectation

commit 211f873f542504d0a0f72b6b5cb23908a1c99a2d
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue Dec 8 12:28:38 2015 +0300

Embed zend_class_constant.flags into zend_class_constants.value.u2.access_flags

commit 51deab84b2cdbf9cdb1a838cf33b2ee45c61748b
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon Dec 7 11:18:55 2015 +0300

Fixed issues found by Nikita

commit 544dbd5b47e40d38a8ccb96bc5583e9cb7fdd723
Author: Dmitry Stogov <dmitry@zend.com>
Date: Sat Dec 5 02:41:05 2015 +0300

Refactored immplementation of https://wiki.php.net/rfc/class_const_visibility
@reeze created an RFC here and I emailed internals here and didn't get any responses positive/negative.

show more ...

Revision tags: php-7.0.0, php-5.6.16
# 05738eb7 25-Nov-2015 Xinchen Hui

Revert "Improved fix for Fully qualified (leading backslash) type names must fail"

This reverts commit 00865ae22f2c5fdee9e500ce79d442467e0a0899.

# 00865ae2 25-Nov-2015 Xinchen Hui

Improved fix for Fully qualified (leading backslash) type names must fail

it now all fails with COMPILE_ERROR instead of syntax error for T_ARRAY
but COMPILE_ERROR for int

Revision tags: php-7.0.0RC8, 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
# e3e92e96 12-Oct-2015 Nikita Popov

Fixed bug #70430

# 06f38d36 15-Oct-2015 Nikita Popov

Reindent zend_yytnamerr

Separating this whitespace change from the next diff.

# ddb6d780 06-Oct-2015 Márcio Almada

Fix bug #70650

Revision tags: php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3
# c08b3922 04-Sep-2015 Márcio Almada

adds missing tokens to list of semi-reserved words and regenerates test suite

Revision tags: php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 186b0f37 20-Aug-2015 Nikita Popov

Don't allow leading \ in group use decl list

We recently added support for "use \Foo\{Bar}". This commit drops
support for the reverse "use Foo\{\Bar}". Those two got mixed up
in the

Don't allow leading \ in group use decl list

We recently added support for "use \Foo\{Bar}". This commit drops
support for the reverse "use Foo\{\Bar}". Those two got mixed up
in the initial implementation.

show more ...

Revision tags: php-5.6.13RC1
# 7568d5cb 18-Aug-2015 Márcio Almada

fixes a syntactical inconsistency with group use and leading `\`

discussion: http://news.php.net/php.internals/87774

Revision tags: 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, php-5.5.27, php-5.4.43
# 4bd22cf1 29-Jun-2015 Dmitry Stogov

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200

Use the new 'ZSTR' macros in the rest of the code.

Does not change anything to the generated code (thanks to compat macros) but cleaner.

commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200

Improve zend_string API

Add missing methods

show more ...

Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2
# a684e6ad 20-Jun-2015 Nikita Popov

Drop unnecessary %prec

Leftover from a previous implementation

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)

12345678910>>...26