summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'PHP-7.2'Xinchen Hui2017-12-281-2/+4
|\ \ | |/ | | | | | | * PHP-7.2: Fixed bug #75742 (potential memleak in internal classes's static members)
| * Fixed bug #75742 (potential memleak in internal classes's static members)Xinchen Hui2017-12-281-2/+4
| |
* | zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is ↵Dmitry Stogov2017-12-271-1/+1
| | | | | | | | initialized if zend_fcall_info_cache.function_handler is set).
* | zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is ↵Dmitry Stogov2017-12-271-4/+3
| | | | | | | | initialized if zend_fcall_info_cache.function_handler is set).
* | Use zend_hash_find() instead of zend_hash_find_ptr() to avoid double checkDmitry Stogov2017-12-271-4/+4
| |
* | Use zend_string_equal*() API for zend_string equality check instead of ↵Dmitry Stogov2017-12-041-2/+1
| | | | | | | | direct memcmp() usage.
* | Use cheaper functionsDmitry Stogov2017-12-041-3/+3
| |
* | Introduced zend_hash_find_ex() that may avoid unnecessary hash value check.Dmitry Stogov2017-11-241-1/+1
| |
* | Prevent reference-counting on persistent zvals (internal constants, default ↵Dmitry Stogov2017-10-301-1/+1
| | | | | | | | | | | | | | properties and constants of internal classes). New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary. This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.
* | Merge branch 'master' into rc_debugDmitry Stogov2017-10-301-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (26 commits) Better fix for bug #75451 (Assertion fails while foreach on empty xpath query) Catch with the latest AppVeyor unzip errors Fixed type inference Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect Fix compiler warnings We don't use a specific model for a MAKERNOTE so remove these checks that doesn't do anything anyway Remove these old comments, as for the TODO, there is already a FR for this Re-enable AppVeyor cache make sure run-tests reports exit status upon prerequisite error Remove implicit constants from test case Fix invalid read in zend_use_undefined_constant() Fix invalid read in mb_ord() Remove --with-libmbfl configure option Fixed bug #75451 (Assertion fails while foreach on empty xpath query) Add tests for UConverter::getStandards() convert spaces to tabs in ext/ftp/tests/server.inc Add tests for ftp_rename Fix bug #75434 Wrong reflection for mysqli_fetch_all function Don't optimize input arrays with suffix holes Fix bug #75307 Wrong reflection for openssl_open function ...
| * | Fix invalid read in zend_use_undefined_constant()Nikita Popov2017-10-281-1/+2
| | |
* | | Merge branch 'master' into rc_debugDmitry Stogov2017-10-271-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | * master: Use per-request heap instead of system one Extend zend_register_class_alias_ex() with additional argument to allow creating persistent or per-request aliases Makrk persistent resources and references with GC_PERSISTENT flag
| * | Use per-request heap instead of system oneDmitry Stogov2017-10-271-1/+1
| | |
* | | Encapsulate reference-counting primitives.Dmitry Stogov2017-10-271-1/+1
|/ / | | | | | | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
* | Reverted constant related change (this should be handled togrther with ohter ↵Dmitry Stogov2017-10-261-1/+1
| | | | | | | | constant related places)
* | Removed useless reallocationsDmitry Stogov2017-10-261-1/+1
| |
* | Always use IS_CONSTANT_AST (IS_CONSTANT is removed).Dmitry Stogov2017-10-101-72/+45
| |
* | Use zval_ptr_dtor_nogc() in places where circular zvals are not possibleDmitry Stogov2017-10-091-2/+2
| |
* | Refactored array creation API. array_init() and array_init_size() are ↵Dmitry Stogov2017-09-201-2/+1
|/ | | | converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
* Value of EG(user_exception_handler) should't relive request boundaryDmitry Stogov2017-07-121-0/+1
|
* Drop dead abstract method check from zend_call_function()Nikita Popov2017-07-041-22/+6
| | | | | | | zend_is_callable() is responsible for doing these kinds of checks already. Aldro drop a piece of obsolete commented out code.
* further sync for vim mode linesAnatol Belski2017-07-041-0/+2
|
* Split zend_init_execute_data() into zend_init_func_execute_data() and ↵Dmitry Stogov2017-06-291-1/+1
| | | | zend_init_code_execute_data()
* Removed deprecated checks.Dmitry Stogov2017-06-271-9/+0
|
* Removed EG(valid_symbol_table). Used EG(active) instead.Dmitry Stogov2017-06-261-2/+0
|
* Remove superfluous semicolonsTom Van Looy2017-06-261-2/+2
|
* Only compute callback name in error casesNikita Popov2017-06-251-8/+3
| | | | | Mostly the callback name is only used to report an error. Try to avoid calculating it if no error occurred.
* Reseet EG(active) a bit early.Dmitry Stogov2017-06-231-4/+2
|
* shutdown_executor() refactoring (reuse opcache fast request shutdown code)Dmitry Stogov2017-06-221-111/+95
|
* We don't need any special handling for CG(unclean_shutdown) at this point, ↵Dmitry Stogov2017-06-211-3/+0
| | | | because in case of exit() or die() all destructors must be already called before.
* Removed always true conditionMarkus Staab2017-05-111-3/+1
| | | | Since https://github.com/php/php-src/commit/5a9d8a00b475cbbe758d741df7e706859097309c this can no longer be false
* Constant class names are already verifyed by PHP compiler.Dmitry Stogov2017-05-101-1/+1
|
* Merge branch 'PHP-7.1'Xinchen Hui2017-04-111-0/+9
|\ | | | | | | | | | | * PHP-7.1: Update NEWS Fixed bug #74408 (Endless loop bypassing execution time limit)
| * Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-04-111-0/+9
| |\ | | | | | | | | | | | | * PHP-7.0: Fixed bug #74408 (Endless loop bypassing execution time limit)
| | * Fixed bug #74408 (Endless loop bypassing execution time limit)Xinchen Hui2017-04-111-0/+9
| | |
* | | Change 'undefined constant' from E_NOTICE to E_WARNING and mention deprecationRowan Collins2017-03-231-1/+1
| | | | | | | | | | | | | | | Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings" [https://wiki.php.net/rfc/deprecate-bareword-strings]
* | | Interned strings unification for TS/NTSAnatol Belski2017-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'PHP-7.1'Xinchen Hui2017-02-251-0/+18
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.1: Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to typehinted by-ref arg) Fixed typo (it should be typo)
| * | Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to ↵Xinchen Hui2017-02-251-0/+18
| | | | | | | | | | | | typehinted by-ref arg)
* | | Merge branch 'PHP-7.1'Xinchen Hui2017-02-151-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Workaround to fix bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log)
| * | Workaround to fix bug #74093 (Maximum execution time of n+2 seconds exceed ↵Xinchen Hui2017-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | not written in error_log) Use a different exit code for hard_timeout, 124 is used by linux timeout:http://man7.org/linux/man-pages/man1/timeout.1.html "If the command times out, and --preserve-status is not set, then exit with status 124"
* | | Deprecate each()Nikita Popov2017-02-031-0/+2
| | |
* | | Merge branch 'PHP-7.1'Joe Watkins2017-01-261-4/+4
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed #73973 - debug_zval_dump() assertion error for resource consts with --enable-debug
| * | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-261-4/+4
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed #73973 - debug_zval_dump() assertion error for resource consts with --enable-debug
| | * Fixed #73973 - debug_zval_dump() assertion error for resource consts with ↵andrewnester2017-01-261-4/+4
| | | | | | | | | | | | --enable-debug
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
| | |
* | | Improved VM stack unwinding on exception.Dmitry Stogov2016-12-121-2/+8
| | | | | | | | | | | | Now zend_throw_exception_hook() is going to be called only when exception is actually thrown and not going to be recalled for each unwinded finction.
* | | Removed IS_TYPE_IMMUTABLE (it's the same as COPYABLE & !REFCOUED)Dmitry Stogov2016-11-281-2/+2
| | |