| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Related to GH-6701
|
|
|
|
| |
Closes GH-6670
|
|
|
|
| |
And drop the U_DEFINE_TRUE_AND_FALSE flag.
|
|
|
|
| |
Closes GH-6309
|
|
|
|
| |
It is used only once with allow_errors enabled
|
|
|
|
|
|
| |
Support for this was removed in PHP 7.0.
See: https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings
|
|
|
|
| |
Closes GH-5950
|
|
|
|
|
|
|
|
|
| |
Affects:
- IntlCalendar
- IntlGregorianCalendar
- IntlBreakIterator
Closes GH-5669
|
|
|
|
|
| |
Check this once before the sort, instead of on every compare.
Also directly store the UCollator to make things more obvious.
|
| |
|
|
|
|
| |
Closes GH-5758
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necessary.
This ensures that release artifacts will never try to regenerate
stubs and thus fetch PHP-Parser, as long as you do not modify any
files.
Closes GH-5739.
|
|
|
|
|
|
|
|
| |
5.4.0
Fix [-Werror=maybe-uninitialized] compilation warnings on big endian system
Closes GH-5373
|
|
|
|
| |
Closes GH-5370
|
|
|
|
|
|
|
| |
Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
|
|
|
| |
Closes GH-5322
|
|
|
|
|
|
|
|
| |
Avoid subtle differences in behavior depending on whether the
handler is absent or returns FAILURE.
If you previously set cast_object to NULL, create a handler that
always returns FAILURE instead.
|
|
|
|
|
| |
Avoid performing the same casting dance inside each sort compare
function.
|
|
|
|
| |
Closes GH-4826
|
| |
|
| |
|
|
|
|
| |
Closes GH-4871.
|
|
|
|
| |
Closes GH-4732.
|
| |
|
|
|
|
|
|
|
|
| |
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:
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
|
| | |
|
| |
| |
| |
| |
| | |
zpp will be throwing for these now, don't report them in addition to
that.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
insted of zval(s).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
|
| |
|
|
|
|
| |
__construct, __destruct, __wakeup does not have return types defined.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.
Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.
|
|\
| |
| |
| |
| | |
* PHP-7.0:
Fixed bug #75193 segfault in collator_convert_object_to_string
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* PHP-7.0:
NEWS
Fix bug #74705 for collator_get_sort_key
Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
|
| |
| |
| |
| | |
https://secure.php.net/manual/en/collator.getsortkey.php
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Fix bug #74468 wrong reflection on Collator::sortWithSortKeys
|
| | |
|
| |
| |
| |
| | |
These are only indirections to the default handler
|
| | |
|
|\ \ |
|