| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Closes GH-5950
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
From an engine perspective, named parameters mainly add three
concepts:
* The SEND_* opcodes now accept a CONST op2, which is the
argument name. For now, it is looked up by linear scan and
runtime cached.
* This may leave UNDEF arguments on the stack. To avoid having
to deal with them in other places, a CHECK_UNDEF_ARGS opcode
is used to either replace them with defaults, or error.
* For variadic functions, EX(extra_named_params) are collected
and need to be freed based on ZEND_CALL_HAS_EXTRA_NAMED_PARAMS.
RFC: https://wiki.php.net/rfc/named_params
Closes GH-5357.
|
| | |
| | |
| | |
| | | |
Related to GH-5627
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* mysqli_get_server_info() cannot return null. The underlying API
is infallible.
* mysqli_select_db() func info is redundant.
* mb_detect_order() can only return array|true, not array|false.
Also make the func_info.phpt test that is supposed to catch these
kinds of issues actually work.
|
| | |
| | |
| | |
| | | |
Closes GH-5590
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5758
|
| | |
| | |
| | |
| | | |
Closes GH-5804
|
| | |
| | |
| | |
| | | |
Optional handler with the same semantics as the object handler.
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5779
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Userland classes that implement Traversable must do so either
through Iterator or IteratorAggregate. The same requirement does
not exist for internal classes: They can implement the internal
get_iterator mechanism, without exposing either the Iterator or
IteratorAggregate APIs. This makes them usable in get_iterator(),
but incompatible with any Iterator based APIs.
A lot of internal classes do this, because exposing the userland
APIs is simply a lot of work. This patch alleviates this issue by
providing a generic InternalIterator class, which acts as an
adapater between get_iterator and Iterator, and can be easily
used by many internal classes. At the same time, we extend the
requirement that Traversable implies Iterator or IteratorAggregate
to internal classes as well.
Closes GH-5216.
|
| | |
| | |
| | |
| | | |
Closes GH-5759
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
In ext/ffi, ext/intl, ext/mysqli, and ext/pcntl
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
From now on, we always display the given object's type instead of just reporting "object".
Additionally, make the format of return type errors match the format of argument errors.
Closes GH-5625
|
| | |
| | |
| | |
| | | |
Closes GH-5618
|
| | | |
|
| | |
| | |
| | |
| | | |
Didn't double check and this slipped through with my big search and replace
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5514
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This test creates a MySQL table called 'test'. In several cases, I have seen a spurious
test failure (in CI) with an error message saying: "table 'test' already exists".
It may be that another test had used a table with the same name and not cleaned it out
correctly. Or maybe we have multiple tests running in parallel in some CI environments,
or the same test DB being used for multiple runs of the test suite.
In any case, change the table name so it is exclusive to this test case only. Also, if
the test table exists at the beginning of the test, drop it.
Closes GH-5479
|
| | |
| | |
| | |
| | | |
This reverts commit 45cb42166d4a53fe0154be08097f112d6ec72a27.
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5391.
|
| | |
| | |
| | |
| | | |
Closes GH-5420
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix MySQL local infile / attr handling on big endian systems
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix MySQL local infile / attr handling on big endian systems
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make sure pointer types match what is used by libmysql everywhere.
Closes GH-5380.
|
| | |
| | |
| | |
| | |
| | | |
The implementation is broken (syntactically). As it's not used
anyway, I'm just dropping it instead.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
The dummy link argument is not nullable.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Make mysqli_poll test more deterministic
|
| | |
| | |
| | |
| | | |
Handle errors appearing in different order.
|
| | | |
|
| | |
| | |
| | |
| | | |
We'll need this if we want to generate method entries.
|
| | |
| | |
| | |
| | | |
Closes GH-5322
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5278
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix test for Windows
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix test for Windows
|
| | |
| | |
| | |
| | |
| | | |
Windows filenames may very well contain a colon, so we adjust the test
accordingly.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Enclose INI values containing {TMP} in quotes
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Enclose INI values containing {TMP} in quotes
|