History log of /PHP-7.4/ext/opcache/Optimizer/zend_inference.c (Results 26 – 50 of 205)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# da919a8b 05-Feb-2019 Dmitry Stogov

Remove copyright years.


# 92ac598a 22-Jan-2019 Peter Kokot

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly

Remove local variables

This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.

show more ...


# 0ff71aea 25-Jan-2019 Dmitry Stogov

Fixed crash


# 4887896e 24-Jan-2019 Dmitry Stogov

Fixed crash


# a50198d0 15-Jan-2019 Nikita Popov

Implement ??= operator

RFC: https://wiki.php.net/rfc/null_coalesce_equal_operator

$a ??= $b is $a ?? ($a = $b), with the difference that $a is only
evaluated once, to the degree

Implement ??= operator

RFC: https://wiki.php.net/rfc/null_coalesce_equal_operator

$a ??= $b is $a ?? ($a = $b), with the difference that $a is only
evaluated once, to the degree that this is possible. In particular
in $a[foo()] ?? $b function foo() is only ever called once.
However, the variable access themselves will be reevaluated.

show more ...


# e219ec14 07-Jan-2019 Nikita Popov

Implement typed properties

RFC: https://wiki.php.net/rfc/typed_properties_v2

This is a squash of PR #3734, which is a squash of PR #3313.

Co-authored-by: Bob Weinand <bobwe

Implement typed properties

RFC: https://wiki.php.net/rfc/typed_properties_v2

This is a squash of PR #3734, which is a squash of PR #3313.

Co-authored-by: Bob Weinand <bobwei9@hotmail.com>
Co-authored-by: Joe Watkins <krakjoe@php.net>
Co-authored-by: Dmitry Stogov <dmitry@zend.com>

show more ...


Revision tags: php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3
# f5044a12 02-Jul-2018 Michael Moravec

Implement ZEND_ARRAY_KEY_EXISTS opcode to speed up array_key_exists()


# 9afce019 01-Nov-2018 Zeev Suraski

Future-proof email addresses


# 67e0138c 01-Nov-2018 Zeev Suraski

Future-proof email addresses...


# f1ceec55 25-Oct-2018 Nikita Popov

Fixed bug #77058

Account for the fact that undef must be interpreted as null for
the purposes of INC/DEC inference.


# e7153e8a 25-Oct-2018 Nikita Popov

Improve "narrowing" error message

By including the opcode name.


# 902d39a3 13-Oct-2018 Peter Kokot

Trim trailing whitespace in source code files


# 7f6387b5 13-Oct-2018 Peter Kokot

Trim trailing whitespace in source code files


# 689c6fb1 18-Sep-2018 Dmitry Stogov

Replace ZEND_ACC_ANON_BOUND, ZEND_ACC_UNRESOLVED_PARENT and ZEND_ACC_UNRESOLVED_INTERFACES with single ZEND_ACC_LINKED.


# 6136a205 24-Aug-2018 Dmitry Stogov

ZEND_DECLARE_CLASS, ZEND_DECLARE_INHERITED_CLASS and ZEND_DECLARE_INHERITED_CLASS_DELAYED don't need return value anymore.


# 8050f4a3 23-Aug-2018 Dmitry Stogov

Keep information about unresolved parent class in zend_class_entry->parent_name


# b8828926 20-Aug-2018 Dmitry Stogov

Avoid hash lookups in BIND_STATIC and BIND_LEXICAL opcode handlers.
Encode static variable offset into opline->extended_value.


# 57af94c8 02-Jul-2018 Dmitry Stogov

Partial revert of 30156d588c07e26d4e752ddb62344e96854d4773


# 30156d58 28-Jun-2018 Rudi Theunissen

Fixed bug #63217

Don't automatically convert literal string keys to integers on
array access, as we may be dealing with an ArrayAccess object,
rather than a plain array.


# 2eb6a541 30-Jun-2018 Nikita Popov

Fix typo in compound dim assign op inference

Thankfully a harmless one, just makes inference results worse.


# 1b80de93 26-Jun-2018 Dmitry Stogov

Cleanup conditions


# 54f171cd 26-Jun-2018 Dmitry Stogov

Restored zend_array_element_type() prototype


# 102bcb5c 25-Jun-2018 Nikita Popov

Update array_element_type inference for previous change

LIST_R and DIM_IS return value can't be MAY_BE_REF anymore.


# 490a49d0 25-Jun-2018 Nikita Popov

Use COPY_DEREF for DIM_IS and LIST_R as well

Also add an upgrading note for the behavior change, not that we
expect anyone to be affected...


# 7793bc8e 25-Jun-2018 Dmitry Stogov

Improved type inference. Result of opcodes using ZVAL_COPY_DEREF can't be MAY_BE_REF.


123456789