| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Make this functionality available outside reflection.
|
| |
|
| |
|
|
|
|
| |
Closes GH-5355
|
| |
|
| |
|
|
|
|
|
| |
Both functions are closely related, so should behave the same for wrong
input types, i.e. both should throw a TypeError.
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.4:
Fixed bug #78434
|
| |
| |
| |
| |
| |
| | |
The DO_INIT flag, which will skip the first resume on a primed
generator, should always be set when starting to yield from a
new generator, not only when the yield from happens during priming.
|
| |
| |
| |
| |
| |
| |
| | |
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:
Add php_cli_server_connect() helper
|
| |
| |
| |
| |
| |
| |
| | |
To encapsulate the repeated fsockopen() code.
This gives us a chance to control the timeout in one place:
Raise it to one second.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Make mysqli_poll test more deterministic
|
| |
| |
| |
| | |
Handle errors appearing in different order.
|
| | |
|
| |
| |
| |
| |
| | |
We no longer accept the encoding as 3rd param, so we can make this
a proper int argument.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Relax overly strict test expectation
|
| |
| |
| |
| |
| |
| |
| | |
There is no reason to expect a `1` after the PID; neither the session
ID nor the memory usage are required to contain one. Actually, we just
want to verify here, that the process with the $child_pid is running,
and is a php.exe process.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix memory leak introduced by fixing bug #78221
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Fix memory leak introduced by fixing bug #78221
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We have to free the retrieved text content; to keep the code readable,
we extract a helper function to check for empty nodes. Unfortunately,
we cannot use xmlIsBlankNode(), because that also recognizes whitespace
only text content.
We also make sure to properly handle NULL returns from
xmlNodeGetContent().
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix test
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.4:
Revert "Went to fast and forgot to update tests"
Revert "Fix Bug #79448 0 is a valid Unicode codepoint, but mb_substitute_character(0) fails"
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
* PHP-7.3:
Revert "Went to fast and forgot to update tests"
Revert "Fix Bug #79448 0 is a valid Unicode codepoint, but mb_substitute_character(0) fails"
|
| | |
| | |
| | |
| | | |
This reverts commit 656eac74fa6074aebc087bb73d2e4651f7dc8c9e.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
mb_substitute_character(0) fails"
This commit brings some substantial changes in behaviour due to the weird implementation.
This will be fixed in master due to BC concerns.
This reverts commit 1333b46d6dc0c293c1fd626803f91bc69743eb79.
|
| | | |
|
| | |
| | |
| | |
| | | |
This reverts commit 5db5f71f2831df4d32484a5638f6f6aa72e364a5.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Instead fetch the name from the respective structure. The only
place where this is still used is ReflectionClassConst,
as zend_class_const does not store the name.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Instead fetch the name from the function/class/property,
as appropriate. This makes us independent of the property,
and eliminates error conditions related to it.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Directly fetch the name property, instead of construction the
properties hash table and performing a lookup in it. This is both
slow and wastes a lot of memory.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #78221: DOMNode::normalize() doesn't remove empty text nodes
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #78221: DOMNode::normalize() doesn't remove empty text nodes
|
| | |
| | |
| | |
| | |
| | | |
If a text node is not followed by another text node, we remove it, if
its textContent is empty.
|
| | |
| | |
| | |
| | | |
trace_exit_info. Implement simple deoptimizer.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #69264: __debugInfo() ignored while extending SPL classes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We actually implement `::__debugInfo()` and drop the `get_debug_info()`
handlers of all relevant SPL classes. This is cleaner and gives more
flexibility regarding overriding the functionality in descendant
classes.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
We substitute the construction magic with standard constructors, move
the ZPP checks to the beginning of the ctors, and also let the function
entries be generated from the stubs.
|
| | |
| | |
| | |
| | | |
Closes GH-5340
|