summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.4'Dmitry Stogov2019-05-301-10/+0
|\ | | | | | | | | * PHP-7.4: Disable "bad" optimisations only for emulation loop
| * Disable "bad" optimisations only for emulation loopDmitry Stogov2019-05-301-10/+0
| |
* | Remove get() object handlerNikita Popov2019-05-291-36/+0
| | | | | | | | | | | | | | | | Now that set() is gone, there is little point in keeping get(), as it is essentially just a different way of writing cast_object() now. Closes GH-4202.
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-291-0/+40
|\ \ | |/ | | | | | | * PHP-7.4: zend_assign_to_variable() optimization
| * zend_assign_to_variable() optimizationDmitry Stogov2019-05-291-0/+40
| |
| * zend_do_fcall_overloaded() doesn't have to be exportedDmitry Stogov2019-05-291-1/+1
| |
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-05-151-2/+2
|\ \ | |/ | | | | | | * PHP-7.4: Removed ability to compile PHP without EX(run_time_cache). ZEND_EX_USE_RUN_TIME_CACHE was always defined.
| * Removed ability to compile PHP without EX(run_time_cache). ↵Dmitry Stogov2019-05-151-2/+2
| | | | | | | | ZEND_EX_USE_RUN_TIME_CACHE was always defined.
* | Merge branch 'PHP-7.4'Peter Kokot2019-05-091-44/+0
|\ \ | |/ | | | | | | * PHP-7.4: Remove unused functions
| * Remove unused functionsPeter Kokot2019-05-091-44/+0
| | | | | | | | | | | | | | - _get_zval_ptr_cv_deref_BP_VAR_UNSET - _get_zval_ptr_cv_deref_BP_VAR_IS - _get_zval_ptr_cv_deref_BP_VAR_RW - _get_zval_ptr_cv_deref_BP_VAR_W
* | Merge branch 'PHP-7.4'Peter Kokot2019-05-081-9/+0
|\ \ | |/ | | | | | | * PHP-7.4: Remove unused functions
| * Remove unused functionsPeter Kokot2019-05-081-9/+0
| | | | | | | | | | | | | | - zend_mm_bitset_find_zero - zend_mm_bitset_find_one - zend_mm_bitset_find_zero_and_set - zend_is_by_ref_func_arg_fetch
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-04-221-0/+3
|\ \ | |/ | | | | | | * PHP-7.4: Add gcc global register for aarch64
| * Add gcc global register for aarch64CrazyMiaoo2019-04-221-0/+3
| |
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-04-151-0/+35
|\ \ | |/ | | | | | | * PHP-7.4: Removed tests that always (or almost always) true
| * Removed tests that always (or almost always) trueDmitry Stogov2019-04-151-0/+35
| |
| * Backported call frame initialization improvementDmitry Stogov2019-04-121-12/+19
| |
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-04-121-6/+6
|\ \ | |/ | | | | | | * PHP-7.4: Replace "ZEND_CALL_CTOR" hack by additional live-range
| * Replace "ZEND_CALL_CTOR" hack by additional live-rangeDmitry Stogov2019-04-121-6/+6
| |
* | Simplify call frame initializationDmitry Stogov2019-04-111-12/+19
| |
* | Merge branch 'PHP-7.4'Dmitry Stogov2019-04-091-2/+2
|\ \ | |/ | | | | | | * PHP-7.4: Repare SWITCH VM
| * Merge branch 'PHP-7.3' into PHP-7.4Dmitry Stogov2019-04-091-2/+2
| |\ | | | | | | | | | | | | * PHP-7.3: Repare SWITCH VM
* | \ Merge branch 'PHP-7.4'Joe Watkins2019-04-051-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: typo
| * | typoMarkus Staab2019-04-051-1/+1
| | |
* | | Merge branch 'PHP-7.4'Dmitry Stogov2019-04-051-0/+20
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Optimized "smart branch" instructions
| * | Optimized "smart branch" instructionsDmitry Stogov2019-04-051-0/+20
| | |
* | | Make zpp failures always throw, independent of strict_typesNikita Popov2019-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously zend_parse_parameters (and FastZPP) would handle invalid arguments depending on strict_types: With strict_types=1, a TypeError is thrown, with strict_types=0 a warning is thrown and (usually) NULL is returned. Additionally, some functions (constructors always and other methods sometimes) opt-it to throwing regardless of strict_types. This commit changes zpp to always generate a TypeError exception in PHP 8.
* | | Merge branch 'PHP-7.4'Nikita Popov2019-03-011-1/+10
|\ \ \ | |/ / | | | | | | [ci skip]
| * | Fix out-dated docs and typoc9s2019-03-011-1/+10
| | | | | | | | | | | | [ci skip]
* | | Merge branch 'PHP-7.4'Nikita Popov2019-02-201-0/+1
|\ \ \ | |/ /
| * | Use "modify" error message for FUNC_ARG fetch as wellNikita Popov2019-02-201-0/+1
| | | | | | | | | | | | Avoid differences based on whether a W or FUNC_ARG fetch is performed.
* | | Merge branch 'PHP-7.4'Peter Kokot2019-02-181-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Fix typos in code comments in Zend/ [skip ci]
| * | Fix typos in code comments in Zend/ [skip ci]Tyson Andre2019-02-181-1/+1
| | |
* | | Merge branch 'PHP-7.4'Nikita Popov2019-02-141-2/+2
|\ \ \ | |/ /
| * | Fix build without global regsNikita Popov2019-02-141-2/+2
| | |
* | | Merge branch 'PHP-7.4'Nikita Popov2019-02-141-33/+5
|\ \ \ | |/ /
| * | Fixed bug #75921David Walker2019-02-141-33/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that the "creating default object from empty value" warning is always thrown. Previously some cases were missing the warning, in particular those going through FETCH_OBJ_W rather than a dedicated opcode (like ASSIGN_OBJ). One slightly unfortunate side-effect of this change is that something like $a->b->c = 'd' will now generate two warnings rather than one when $a is null (one for property b, one for property c).
* | | Merge branch 'PHP-7.4'Dmitry Stogov2019-02-121-9/+22
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: More accurate handling of global registers (allow VM with single global register)
| * | More accurate handling of global registers (allow VM with single global ↵Dmitry Stogov2019-02-121-9/+22
| | | | | | | | | | | | register)
* | | Don't silence fatal errors with @Nikita Popov2019-02-111-1/+2
| | |
* | | Merge branch 'PHP-7.4'Nikita Popov2019-02-081-0/+2
|\ \ \ | |/ /
| * | Fix double free if post inc of typed property throwsNikita Popov2019-02-081-0/+2
| | | | | | | | | | | | | | | | | | We either need to add an extra ref because the copy is used as the retval, which is freed by HANDLE_EXCEPTION, or we need to undef it (done here).
* | | Remove ZEND_OVERLOADED_FUNCTION and corresponding call_method object handlerDmitry Stogov2019-02-071-37/+0
| | |
* | | Refactor zend_object_handlers API to pass zend_object* and zend_string* ↵Dmitry Stogov2019-02-041-45/+51
| | | | | | | | | | | | insted of zval(s).
* | | Merge branch 'PHP-7.4'Peter Kokot2019-02-031-10/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.4: Remove local variables
| * | Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* | | Remove bareword fallback for constantsNikita Popov2019-01-311-17/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Access to undefined constants will now always result in an Error exception being thrown. This required quite a few test changes, because there were many buggy tests that unintentionally used bareword fallback in combination with error suppression.
* | | Remove support for case-insensitive constantsNikita Popov2019-01-311-55/+3
| | | | | | | | | | | | | | | | | | | | | The only remaining case-insensitive constants are null, true and false, which are handled explicitly. In the future we may convert them from constants to reserved keywords.
* | | Merge branch 'PHP-7.4'Nikita Popov2019-01-311-2/+1
|\ \ \ | |/ /
| * | Revert "Don't silence fatal errors with @"Nikita Popov2019-01-311-2/+1
| | | | | | | | | | | | | | | | | | | | | This reverts commit abd36289e26cc0365e82373699aba4c1ffff464d. This wasn't ready for merging yet, there are still some test failures.