| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* PHP-7.4:
Disable "bad" optimisations only for emulation loop
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
zend_assign_to_variable() optimization
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Removed ability to compile PHP without EX(run_time_cache). ZEND_EX_USE_RUN_TIME_CACHE was always defined.
|
| |
| |
| |
| | |
ZEND_EX_USE_RUN_TIME_CACHE was always defined.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Remove unused functions
|
| |
| |
| |
| |
| |
| |
| | |
- _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
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Remove unused functions
|
| |
| |
| |
| |
| |
| |
| | |
- zend_mm_bitset_find_zero
- zend_mm_bitset_find_one
- zend_mm_bitset_find_zero_and_set
- zend_is_by_ref_func_arg_fetch
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Add gcc global register for aarch64
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Removed tests that always (or almost always) true
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Replace "ZEND_CALL_CTOR" hack by additional live-range
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Repare SWITCH VM
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Repare SWITCH VM
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
typo
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Optimized "smart branch" instructions
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
| | |
| | | |
[ci skip]
|
| | |
| | |
| | |
| | | |
[ci skip]
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
Avoid differences based on whether a W or FUNC_ARG fetch is performed.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix typos in code comments in Zend/ [skip ci]
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
More accurate handling of global registers (allow VM with single global register)
|
| | |
| | |
| | |
| | | |
register)
|
| | | |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
| | | |
|
| | |
| | |
| | |
| | | |
insted of zval(s).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove local variables
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit abd36289e26cc0365e82373699aba4c1ffff464d.
This wasn't ready for merging yet, there are still some test
failures.
|