History log of /PHP-7.4/Zend/zend_compile.c (Results 251 – 275 of 2214)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


Revision tags: php-7.1.2, php-7.0.16
# 7a73c5f6 01-Feb-2017 Nikita Popov

Deprecate (unset)

Pecularily, there wasn't a single test for the (unset) cast...


Revision tags: php-7.0.16RC1, php-7.1.2RC1
# 162aa1a5 30-Jan-2017 Nikita Popov

Deprecate __autoload()


Revision tags: php-5.6.30, php-7.0.15
# 141d1ba9 13-Jan-2017 Dmitry Stogov

Introduced "zend_type" - an abstraction for type-hinting representation.


Revision tags: 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


# ed0602fe 21-Dec-2016 Nikita Popov

Fix string extension in negate_num_string

Forgot to actually assign the reallocated string...


# 82988d3e 21-Dec-2016 Xinchen Hui

Revert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)

This reverts commit a12f43ee2c3d27a7eb9a3c873901643df5f7197e.


Revision tags: php-7.1.1
# a12f43ee 17-Dec-2016 Xinchen Hui

Reorder the oplines

1. we should only do the return type checking when it is really about to
return
2. for 029.php, actually, the exception threw should be discard while it
jmp i

Reorder the oplines

1. we should only do the return type checking when it is really about to
return
2. for 029.php, actually, the exception threw should be discard while it
jmp into finally(it could be observed by change the return to return an array)
3. after this fix, the test 029.phpt behavior consistently with 7.0
4. good for optimizer too

show more ...


# 2c705813 11-Dec-2016 Nikita Popov

Fix T_NUM_STRING negation

T_NUM_STRING follows the rules of symtable numeric string
conversion. If the offset isn't an integer under those rules, it
is treated as a string. This shou

Fix T_NUM_STRING negation

T_NUM_STRING follows the rules of symtable numeric string
conversion. If the offset isn't an integer under those rules, it
is treated as a string. This should apply to negated T_NUM_STRINGs
as well.

show more ...


Revision tags: php-5.6.29, php-7.0.14
# 358bd77b 06-Dec-2016 Xinchen Hui

Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())


# 9c1920d9 02-Dec-2016 Dmitry Stogov

Revert "Fix memory leaks with FE_RESET upon empty iterator"

This reverts commit 00e516e57549f29387ef858de7847e7e4ca0c1c0.


Revision tags: php-7.1.0
# 00e516e5 28-Nov-2016 Bob Weinand

Fix memory leaks with FE_RESET upon empty iterator

Solved by manually freeing and jumping to the opcode *after* FE_FREE


# e19d263d 24-Nov-2016 Xinchen Hui

Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)

Actually, I doubt how thing bug could be triggered


Revision tags: php-5.6.29RC1, php-7.0.14RC1
# 2104bea5 12-Nov-2016 Kalle Sommer Nielsen

Remove Netware support

If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I can

Remove Netware support

If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.

show more ...


1...<<11121314151617181920>>...89