| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* PHP-7.4:
Fix tests regarding negative fileinode()
|
| |
| |
| |
| |
| | |
The results of `fileinode()` may be negative due to wrap-around
behavior (at least on Windows as of PHP 7.4.0).
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix bug #78008: dns_check_record() always return true on Alpine
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Fix bug #78008: dns_check_record() always return true on Alpine
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- free handle before return result
- cleaned up remaining usage of MAXPACKET
- update dns_get_mx() to use the same approach
Closes GH-5854.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #79820
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Similar to what is done for ReflectionType itself, copy the
type name stored inside ReflectionProperty. Also make sure the
type field is always initialized for dynamic properties.
This is a non-issue in PHP 8, because we store a pointer to the
property_info there, rather than a copy.
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* upstream/PHP-7.4:
Fix test for x86 Windows
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Only set preloading compiler_options while executing the preload
file, not when performing linking afterwards. Otherwise options
like IGNORE_INTERNAL_CLASSES will hide classes from inheritance
verification.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Tricky edge case: We inherit a property from an internal class,
in which case no property duplication takes place. We should not
try to persist the property info in that case. This didn't really
matter previously, but now that the property has some non-interned
owned data (the type), we need to make sure we don't try to free
that.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The type lists may contain CEs, we should not assume they only
contain names.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This was causing many failures under --preload...
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fixed bug #79849
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | | |
* PHP-7.3:
Fixed bug #79849
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5853.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
r1 clashes with FCARG1a on Windows, so use a different scratch
register. FCARG2a should be free here. Hopefully fixes the
AppVeyor build.
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5777.
|
| | | |
| | | |
| | | |
| | | | |
ZTS support has been added around ~7.2.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently, unexpected tokens in the parser are shown as the text
found, plus the internal token name, including the notorious
"unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM)".
This commit replaces that with a more user-friendly format, with
two main types of token:
* Tokens which always represent the same text are shown like
'unexpected token "::"' and 'expected "::"'
* Tokens which have variable text are given a user-friendly
name, and show like 'unexpected identifier "foo"', and
'expected identifer'.
A few tokens have special cases:
* unexpected token """ -> unexpected double-quote mark
* unexpected quoted string "'foo'" -> unexpected single-quoted
string "foo"
* unexpected quoted string ""foo"" -> unexpected double-quoted
string "foo"
* unexpected illegal character "_" -> unexpected character 0xNN
(where _ is almost certainly a control character, and NN is the
hexadecimal value of the byte)
The \ token has a special case in the implementation just to stop
bison making a mess of escaping it and it coming out as \\
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix warnings and error when compiling with EXIF_DEBUG defined.
Closes GH-5838.
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | | |
* PHP-7.4:
Fix test for x86 Windows
|
| |/ /
| | |
| | |
| | |
| | | |
`st_dev` deliberately overflows on such systems, cf.
<http://svn.php.net/viewvc?view=revision&revision=350100>.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Commit aaa1f90[1] dropped support for the `snprinf()` `I` modifier, so
we use the standard `ll` modifier which is suitable for 32bit and 64bit
Windows. We also replace the deprecated `I64` suffix[2] with the `LL`
suffix.
This fixes ext/pdo_firebird/tests/bug_64037.phpt.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=aaa1f90e3f90c24098fa55a7b868fdca0b89ee25>
[2] <https://docs.microsoft.com/en-us/cpp/cpp/numeric-boolean-and-pointer-literals-cpp?view=vs-2019#integer-literals>
|
| | |
| | |
| | |
| | |
| | |
| | | |
These have apparently been missed when PR 5388[1] had been merged.
[1] <https://github.com/php/php-src/pull/5388>
|
| | |
| | |
| | |
| | |
| | | |
PDO_Firebird raises a warning regarding the unknown SQL syntax, which
we have to silence to avoid run-tests.php to mark the test as borked.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As suggested by Tyson Andre:
https://github.com/php/php-src/pull/5371#issuecomment-657081464
Also fix line number of unhandled match error
Closes GH-5841.
|
| | |
| | |
| | |
| | |
| | |
| | | |
A complement to ae6f45ad45e072260d93f828d81fee9548123044
Closes GH-5843.
|
| | |
| | |
| | |
| | |
| | |
| | | |
"ocifetchinto" function.
Closes GH-5810
|
| | |
| | |
| | |
| | | |
Closes GH-5840
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some extension may need to retrieve the `gdImagePtr` from an `GdImage`
object; thus, we export the respective function. To not being forced
to include gd.h in php_gd.h, we use the opaque `struct gdImageStruct *`
as return type.
We also rename php_gd2.dll to php_gd.dll, since there's not really much
point in giving the DLL a version number, since there is no php_gd.dll
for years (if there ever has been). Renaming, on the other hand,
matches the name on other systems (gd.so), and allows to actually use
`ADD_EXTENSION_DEP()`.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed BC break of php_debug_zval_dump
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fixed BC break of php_debug_zval_dump
|
| | |
| | |
| | |
| | | |
It introduced by fixing bug #79830
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #79830 introduced by fixing bug #79821
# Conflicts:
# ext/standard/var.c
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fixed bug #79830 introduced by fixing bug #79821
|
| | |
| | |
| | |
| | | |
This also fixes memory error in debug_zval_dump and var_export.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #79821
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fixed bug #79821
|
| | |
| | |
| | |
| | |
| | |
| | | |
HashTable was reallocated (zend_hash_packed_grow) during php_var_dump, so we should call GC_ADDREF to make SEPARATE_ARRAY work.
Closes GH-5837.
|
| | | |
|