History log of /PHP-7.1/Zend/zend_compile.c (Results 401 – 425 of 1956)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e20a7274 18-Nov-2014 Dmitry Stogov

SEND_VAR_NO_REF optimization


# 09aa419d 10-Nov-2014 Anatol Belski

initialiize opline for the case it lands in default case


# 44bc735a 10-Nov-2014 Xinchen Hui

convert_to_string also does the check


# 84cd04fc 10-Nov-2014 Xinchen Hui

A better fix(do the convertion in compile time)


# 073c5e09 31-Oct-2014 Anatol Belski

fix warning not all control paths return a value


# 283947af 24-Oct-2014 Anatol Belski

fix datatype mismatches

and convert APIs to size_t where zend_string internally used


# 6e396961 23-Oct-2014 Dmitry Stogov

Fixed "instanceof" with undefined classes


# 4fd435ab 23-Oct-2014 Dmitry Stogov

Embed FETCH_CLASS <string> into the following NEW


# 8dedd863 22-Oct-2014 Dmitry Stogov

Get rid of ZEND_FETCH_MAKE_REF


# 534d854f 22-Oct-2014 Dmitry Stogov

Embed FETCH_CLASS <string> into the following INSTANCEOF


# 779ca61e 22-Oct-2014 Dmitry Stogov

Don't use opline->extended_value for FETCH_CLASS flags where it's unnecessary


# fe8577ef 21-Oct-2014 Dmitry Stogov

Optimized ASSIGN_DIM and related opcodes


# c00424e4 15-Oct-2014 Anatol Belski

bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream


# 0b09ba84 12-Oct-2014 Nikita Popov

Ensure __LINE__ is always accurate


# 292421d3 05-Oct-2014 Nikita Popov

Fix unused variable warning


# 7c7b9184 05-Oct-2014 Dmitry Stogov

Fixed list() behavior inconsistency (string handling is disabled for all cases, ArrayAccess objects handling is enabled for all cases, ZEND_FETCH_DIM_TMP_VAR opcode is renamed into ZEND_FETCH_LIST, Z

Fixed list() behavior inconsistency (string handling is disabled for all cases, ArrayAccess objects handling is enabled for all cases, ZEND_FETCH_DIM_TMP_VAR opcode is renamed into ZEND_FETCH_LIST, ZEND_FETCH_ADD_LOCK flag is removed).

show more ...


# ccb24caa 02-Oct-2014 Dmitry Stogov

Fixed incorrect compilation


# 290d71de 29-Sep-2014 Nikita Popov

Drop unused RAISE_ABSTRACT_ERROR opcode

Abstract methods are being prevented from being called in DO_FCALL
etc.


# ab288b01 28-Sep-2014 Nikita Popov

CT substitute unqualified true/false/null in namespaces

Substituation now always happens on the resolved name and
unqualified usages of true/false/null in namespaced code are
substit

CT substitute unqualified true/false/null in namespaces

Substituation now always happens on the resolved name and
unqualified usages of true/false/null in namespaced code are
substituted as well.

show more ...


# 877eb02f 28-Sep-2014 Nikita Popov

Update operand types for coalesce operator


# 06d0230a 26-Sep-2014 Anatol Belski

cleanup TSRMLS_FETCH


# d11734b4 25-Sep-2014 Anatol Belski

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.

show more ...


# 3e042e1f 23-Sep-2014 Nikita Popov

Move list() condition into assign_znode

The condition in compile_foreach was using ->attr instead of ->kind
and as such never passed. It only worked because assign_znode already
supp

Move list() condition into assign_znode

The condition in compile_foreach was using ->attr instead of ->kind
and as such never passed. It only worked because assign_znode already
supported this case by indirecting via zend_compile_assign. Now it
implements it with a direct call.

show more ...


# 58a41cf7 23-Sep-2014 Dmitry Stogov

Make QM_ASSIGN, JMP_SET and CAST return IS_TMP_VAR.


# 4a221bd8 23-Sep-2014 Nikita Popov

Drop unused result argument


1...<<11121314151617181920>>...79