History log of /PHP-8.0/Zend/zend_execute_API.c (Results 301 – 325 of 936)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0a77dcd4 02-Jul-2014 Dmitry Stogov

Removed EG(in_execution). If EG(currentent_execute_data) is not NULL we are executing something.


# 63c057e3 02-Jul-2014 Dmitry Stogov

Removed EG(opline_ptr) and use corresponding value from EG(current_execute_data)


# 4b09dd69 02-Jul-2014 Dmitry Stogov

Removed EG(active_op_array) and use corresponding value from EG(current_execute_data)


# 412ad4b2 02-Jul-2014 Dmitry Stogov

Uinified call frame handling for user and internal functions.
Now EG(current_execute_data) always point to the call frame of the currently executed function.


Revision tags: php-5.6.0RC2
# b7715c7e 30-Jun-2014 Dmitry Stogov

Refactored parameter passing mechanism.

In PHP-5.6 and below each argument passed to user function was copies on VM stack twice.
Now we always have ZEND_INIT_FCALL (or simular) opcode th

Refactored parameter passing mechanism.

In PHP-5.6 and below each argument passed to user function was copies on VM stack twice.
Now we always have ZEND_INIT_FCALL (or simular) opcode that pushes "call frame" on top of VM stack.
"Call frame" is actually the same zend_execute_data structure.
All the following ZEND_SEND instructions push arguments on top of the stack in a way that they directly comes into corresponding CV variables of the called frame. Extra arguments are copied at the end of stack frame (after all CV and TMP variables) on function enterance.

There are two minor incompatibilities:
1) It's not allowed to decalre functions redefining arguments e.g. "function foo($a,$a) {}".
2) func_get_arg() and func_get args() return the current value of argument and not the original value that was sent.

show more ...


Revision tags: php-5.4.30, php-5.5.14
# bbc508de 23-Jun-2014 Dmitry Stogov

Fixed string deallocation and code cleanup


Revision tags: php-5.6.0RC1
# bd10db27 16-Jun-2014 Dmitry Stogov

Use new zend_hash iteration API


Revision tags: php-5.5.14RC1
# 14e6ee7f 11-Jun-2014 Dmitry Stogov

Use absolute addresses as branch targets for NEW, FE_RESET and FE_FETCH


Revision tags: php-5.4.30RC1
# e8699d75 10-Jun-2014 Xinchen Hui

Remove unused included file


# 3c69140a 10-Jun-2014 Xinchen Hui

Remove unused codes


# 9a9bb887 09-Jun-2014 Dmitry Stogov

Improved ZTS support


Revision tags: php-5.6.0beta4
# 411a8757 28-May-2014 Nikita Popov

Initialize GC_TYPE_INFO for EG(symbol_table)


Revision tags: php-5.4.29, php-5.5.13
# 40256e0f 26-May-2014 Dmitry Stogov

Use specialized functions instead of macros


# b5f90e51 26-May-2014 Xinchen Hui

Save some unnecessary zval copying


# bd4b9837 26-May-2014 Xinchen Hui

Improve call_user_function performance

params are all zval * now, and retval will be initialized in
zend_call_function.

maybe we can make call_user_function as a macro proxy to

Improve call_user_function performance

params are all zval * now, and retval will be initialized in
zend_call_function.

maybe we can make call_user_function as a macro proxy to
call_user_function_ex later.

show more ...


# 0175d994 25-May-2014 Xinchen Hui

Fixed apply_func_arg_t, and it's better not using cast (compiler friendly)


# 00e69ba1 24-May-2014 Xinchen Hui

typo


# b87cff66 24-May-2014 Xinchen Hui

fci->retval is always set


Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1
# 0c6a6f0f 07-May-2014 Dmitry Stogov

Re-applyed Bob's patch with minor fixes


# 4ecc5279 06-May-2014 Dmitry Stogov

Reverted Bob's patch (it breaks many tests when run with opcache and needs to be fixed first).


# f3c1881f 06-May-2014 Bob Weinand

Re-added fix for bug #66015 and adapted for phpng branch


# 1fa4dcac 06-May-2014 Dmitry Stogov

Added comment with problem description and two soltions


Revision tags: php-5.6.0beta2
# 5a03efe2 30-Apr-2014 Nikita Popov

Don't allocate zend_stack elements individually

Instead allocate a vector of elements. Size must now be specified
on initialization rather than on push.


# 17d027ed 30-Apr-2014 Dmitry Stogov

Split IS_BOOL into IS_FALSE and IS_TRUE


# 6a911e83 30-Apr-2014 Dmitry Stogov

Optimized JMPZNZ to avoid multiplication at runtime (may be it makes sense to use relative addresses everywere it'll lead to Position Independent Code)


1...<<11121314151617181920>>...38