| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
We work around this peculiarity of libxml by using xmlNodeSetContent(),
which does not exhibit this behavior. This also saves us from manually
calculating the string length.
|
|
|
|
|
|
|
|
| |
Some editors utilizing .editorconfig automatically trim whitespaces. For
convenience this patch removes whitespaces in certain build files:
- ext/*/config*.m4
- configure.ac
- acinclude.m4
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
|
|
|
|
| |
consumption and avoid race condition during resolving/caching of user iterator functions of internal classes in ZTS build.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
where we sure about string persistence.
|
| |
|
|
|
|
|
|
|
| |
This reverts commit a2c7c46d5ef5b9fc945d7b655d31d5c9f1a72d34.
Since apparently there have been some mistakes in this commit, and it's
not clear yet how to solve them, we're reverting for now.
|
| |
|
|
|
|
| |
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
|
| |
|
|
|
|
|
|
| |
I'm using RuntimeException in SPL, because other SPL classes that
throw this error used it. Error is used for everything else, because
that's what core does.
|
|\
| |
| |
| |
| | |
* PHP-7.2:
Fixes bug #75871 Use pkg-config for libxml2 if available
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Fixes bug #75871 Use pkg-config for libxml2 if available
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
convert_scalar_to_number() will now call cast_object() with an
_IS_NUMBER argument, in which case the cast handler should return
either an integer or floating point number, whichever is more
appropriate.
Previously convert_scalar_to_number() unconditionally converted
objects to integers instead.
Fixes bug #53033.
Fixes bug #54973.
Fixes bug #73108.
|
| | |
| | |
| | |
| | |
| | | |
This can no longer be the case since PHP 7. The writeobj must
always point to a different zval.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Fix test compat with libxml2 2.9.5
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.0:
Fix test compat with libxml2 2.9.5
|
| | |
| | |
| | |
| | | |
One warning disappeared, but the flow is still valid.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Skip 64-bit related test
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.1:
Update NEWS
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
(cherry picked from commit efc1f33b58b0936539ea6ca1de345bd83c7e8f26)
|