History log of /PHP-7.2/Zend/zend_compile.c (Results 26 – 50 of 2004)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8e10c9d3 25-Jun-2017 Michał Brzuchalski

Implement object type annotation

RFC: https://wiki.php.net/rfc/object-typehint


Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20
# a916bed8 30-May-2017 Dmitry Stogov

Fixed function name resolution


# 65edf442 30-May-2017 Dmitry Stogov

Check for possible run-time function name resolution


# 6043f76a 30-May-2017 Dmitry Stogov

Added ZEND_FUNC_NUM_ARGS, ZEND_FUNC_GET_ARGS instructions, to implement corresponding builtin functions.
Special optimisation for "array_slice(INT, func_get_args())" pattern.


# 017d65d7 30-May-2017 Dmitry Stogov

Extend ZEND_SEND_ARRAY to eliminate array_slice() call for "call_user_func_array(_, array_slice(_, LONG, _))" pattern.


# d32288b5 25-May-2017 Dmitry Stogov

Fixed copy-paste mistake


# f00d1c72 25-May-2017 Dmitry Stogov

Added ZEND_GET_CLASS, ZEMD_GET_CALLED_CLASS, ZEND_GET_TYPE instructions, to implement corresponding builtin functions.


# cd953269 25-May-2017 Dmitry Stogov

Added ZEND_COUNT instruction, to implement corresponding builtin.


# 44ec7327 25-May-2017 Dmitry Stogov

Fixed ZEND_IN_ARRAY related issues


# 7c738306 24-May-2017 Dmitry Stogov

Added ZEND_IN_ARRAY instruction, implementing optimized in_array() builtin function, through hash lookup in flipped array


Revision tags: php-7.1.6RC1, php-7.0.20RC1
# 8203a175 18-May-2017 Dmitry Stogov

Remove unused opcode handlers


# d5bc8624 16-May-2017 Anatol Belski

avoid strlen in common case


# ae3f975c 15-May-2017 Anatol Belski

Fixed bug #74589 __DIR__ wrong for unicode character


Revision tags: php-7.1.5, php-7.0.19
# b966a8b5 08-May-2017 Xinchen Hui

Fixed another potential dangling pointer


# 87d56a3d 08-May-2017 Xinchen Hui

Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())


# 44156b31 29-Apr-2017 Andrea Faulds

Drop ZEND_API from zend_assert_valid_class_name

This is a convenience function for internal use and shouldn't have been
exported.


Revision tags: php-7.0.19RC1, php-7.1.5RC1
# b6a4aad8 22-Apr-2017 Nikita Popov

Remove the ZEND_ACC_CLONE flag

This one is completely unused


# e433c23b 15-Apr-2017 Nikita Popov

Improve accuracy of opline lineno information

If compile_var() was used instead of compile_expr() we did not
update the current lineno.


# 2135b057 14-Apr-2017 David Matejka

Fixed bug #74444: multiple catch freezes in some cases

zend_emit_jump() may reallocate, so reload the opline.


Revision tags: php-7.1.4, php-7.0.18
# e92896f7 10-Apr-2017 Sammy Kaye Powers

Remove spurious `CG(context).in_finally` dingleberry


Revision tags: php-7.1.4RC1, php-7.0.18RC1
# ad865281 17-Mar-2017 Nikita Popov

Implement jumptable optimization


# f5951cc8 23-Mar-2017 Nikita Popov

Fix lineno for AST_ZVAL nodes


# fec708f5 22-Mar-2017 Nikita Popov

Simplify increment_lineno handling


Revision tags: php-7.1.3, php-7.0.17
# c6982995 04-Mar-2017 Anatol Belski

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, st

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end

There is no runtime interning.

With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.

show more ...


Revision tags: php-7.1.3RC1, php-7.0.17RC1
# 868930e0 22-Feb-2017 Sara Golemon

Fix potential crash when setting invalid declare value

Using a non-literal expression in a declare value can cause the
compiler to crash trying to turn that AST node into a usable zval.

Fix potential crash when setting invalid declare value

Using a non-literal expression in a declare value can cause the
compiler to crash trying to turn that AST node into a usable zval.

There was an existing test for such values using 'encoding',
but that didn't crash because it's handled by the lexer
rather than being compiled.

Trying to use a non-literal with ticks reproduces the crash.

show more ...


12345678910>>...81