History log of /php-src/Zend/zend_opcode.c (Results 251 – 275 of 462)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 9ce1a36a 19-Jul-2014 Xinchen Hui

Fixed segfault with empty break

# 9bef96d9 19-Jul-2014 Xinchen Hui

Merge branch 'PHP-5.5' into PHP-5.6


# f604b61e 19-Jul-2014 Xinchen Hui

New added opcodes don't need to be resloved

# 110bf9c7 18-Jul-2014 Xinchen Hui

Merge remote-tracking branch 'origin/master' into phpng

Conflicts:
Zend/zend_compile.h
ext/openssl/xp_ssl.c


# 550b3e43 18-Jul-2014 Xinchen Hui

Merge branch 'PHP-5.5' into PHP-5.6

Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h


# de433d4c 18-Jul-2014 Xinchen Hui

Fixed bug #66608 (Incorrect behavior with nested "finally" blocks)

# f589713c 15-Jul-2014 Nikita Popov

Preliminary function decl support

Problem: __FUNCTION__ etc don't work anymore, due to lexer/parser
interdependency.

Revision tags: php-5.4.31RC1, php-5.5.15RC1, php-5.6.0RC2
# 1d1226af 01-Jul-2014 Xinchen Hui

Suppress warning "cast from pointer to integer of different size"

# 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
# 657762ee 19-Jun-2014 Nikita Popov

AST stage 2.4

Revision tags: php-5.6.0RC1
# e1b18e59 17-Jun-2014 Dmitry Stogov

Use arena allocator for zend_class_entry, zend_op_array and zend_property_info that live till the end of request

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, php-5.6.0beta4, php-5.4.29, php-5.5.13
# 6714770d 25-May-2014 Nikita Popov

Fix ZTS build

# c2082ece 25-May-2014 Xinchen Hui

Fixed apply_func_t (they should be broken before)

Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2
# 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)

Revision tags: php-5.5.12, php-5.4.28
# f9927a6c 25-Apr-2014 Dmitry Stogov

Merge mainstream 'master' branch into refactoring
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patch

Merge mainstream 'master' branch into refactoring
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)

Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c

show more ...


# f71da392 21-Apr-2014 Dmitry Stogov

Use ZEND_HASH_FOEACH_* instead of zend_hash_apply_*

# e96073b1 17-Apr-2014 Dmitry Stogov

Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal no

Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly.
Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.

show more ...

Revision tags: php-5.4.28RC1, php-5.5.12RC1
# 050d7e38 15-Apr-2014 Dmitry Stogov

Cleanup (1-st round)

Revision tags: php-5.6.0beta1, php-5.4.27, php-5.5.11
# 98ca90c9 01-Apr-2014 Dmitry Stogov

Fixed char*/zend_string* mess

# 47fdb9ea 31-Mar-2014 Dmitry Stogov

fixed craches at request shutdown and memory leaks

# 9a8fbdf2 27-Mar-2014 Dmitry Stogov

Use CV variable offset instead of CV variable number

# ef6919e6 21-Mar-2014 Dmitry Stogov

Fixed static data cleanup

Revision tags: php-5.5.11RC1, php-5.4.27RC1, php-5.5.10, php-5.4.26, php-5.6.0alpha3
# 598a5184 21-Feb-2014 Dmitry Stogov

Fixed improper deallocation

# 47fb1985 21-Feb-2014 Xinchen Hui

Revert "Use zend_string for arg_info to fixed segfault in Zend/tests/argument_restriction_003.phpt"

This reverts commit b96318105b8a908ec3cb294b8133e36d1b8cba7a.

1...<<111213141516171819