History log of /PHP-7.1/Zend/zend_compile.c (Results 51 – 75 of 1956)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.0.8RC1, php-7.1.0alpha1
# 4da3e77b 04-Jun-2016 Aaron Piotrowski

Covariance on inheriting classes with iterable


# 9ba243b6 04-Jun-2016 Nikita Popov

Forbid ?void


# 73b2f791 04-Jun-2016 Nikita Popov

More explicit errors for return; vs return null;

Both for "return null" in a void function and "return" in
a nullable return function.


# fe907562 04-Jun-2016 Nikita Popov

Forbid "return;" for typed returns already at compile-time

These would otherwise generate a "none returned" error at runtime.
Catch them early.


# cb3825a8 04-Jun-2016 Nikita Popov

Small generator-related cleanups


# bf6a6598 03-Jun-2016 Aaron Piotrowski

Fix default argument check


# 72692e9a 03-Jun-2016 Aaron Piotrowski

Add iterable pseudo-type


# b111da96 31-May-2016 Dmitry Stogov

Split ZEND_SEND_VAR_NO_REF into ZEND_SEND_VAR_NO_REF and ZEND_SEND_VAR_NO_REF_EX (similar to ZEND_SEND_VAL) and remove ZEND_ARG_* flags.


Revision tags: php-5.6.22, php-5.5.36, php-7.0.7
# 2ae21abd 24-May-2016 Dmitry Stogov

Fixed bug #72213 (Finally leaks on nested exceptions).

Squashed commit of the following:

commit 8461b0407fc9eab0869d43b84e6a92ba2fe06997
Author: Dmitry Stogov <dmitry@zend.com>

Fixed bug #72213 (Finally leaks on nested exceptions).

Squashed commit of the following:

commit 8461b0407fc9eab0869d43b84e6a92ba2fe06997
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed May 25 00:34:42 2016 +0300

Rmoved zend_try_catch_element.parent and walk through op_array.try_catch_array backward from the current try_cacth_offset.

commit 0c71e249649bed178bfbef30bb3e63c57f07af05
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed May 25 00:04:53 2016 +0300

Move SAVE_OPLINE() to its original place

commit 111432a4df738fcd65878a42f23194dc3c4983a2
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed May 25 00:01:10 2016 +0300

Separate the common part of ZEND_HANDLE_EXCEPTION and FAST_RET into zend_dispatch_try_catch_finally_helper.

commit 4f21c06c2ec17819a708bc037f318784554a6ecd
Author: Nikita Popov <nikic@php.net>
Date: Tue May 24 14:55:27 2016 +0200

Improve finally fix

commit da5c7274997b8308e682b5bf280124e3a1483086
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 24 10:36:08 2016 +0300

Fixed Zend/tests/try/bug70228_3.phpt and Zend/tests/try/bug70228_4.phpt

commit cfcedf2fb4f4fc1f7de9f7d53a3037fed7795f19
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 24 02:59:27 2016 +0300

Added test

commit 4c6aa93d43da941eb4fda15b48154bfb104bdc04
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 24 00:38:20 2016 +0300

Added tests

commit 8a8f4704b0eca2e460d42c1f253a363b0db8e510
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon May 23 23:27:34 2016 +0300

Fixed bug #72213 (Finally leaks on nested exceptions)

show more ...


Revision tags: php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1
# 4f077aee 04-Apr-2016 Bob Weinand

Allow for [] = $array; (alias for list())


# be071702 13-May-2016 Dmitry Stogov

Fixed bug #72188 (Nested try/finally blocks losing return value)


# 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 ...


# 7b94b958 12-May-2016 Dmitry Stogov

Intern some known (and offten used) strings.


# 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()


# 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.


# 9af0c96a 04-May-2016 Nikita Popov

Fix bug #72159


# 9bbee305 04-May-2016 Joe Watkins

add compiler option to disable builtins (special case function calls)


# 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 ...


# d0069ca6 01-May-2016 Nikita Popov

Fix ('\bar')() in namespace


# 2578d080 29-Apr-2016 Dmitry Stogov

Fixed compilation warnings


# 4f54c15c 07-Apr-2016 Nikita Popov

Ct bind private/final $this method call args

The test covers two edge-cases wrt opcache support.


# 69efeb12 21-Apr-2016 Bob Weinand

Fix constant expr coaleasce with protected mode opcache


# a287c3f7 21-Apr-2016 Bob Weinand

Fix magic constants (__LINE__) with ?? for constant scalar exprs

Also fix general memory leak when root ast gets replaced in compile time evaluation


12345678910>>...79