| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| | |
* PHP-8.0:
Additional fix for bug #80847. On x86_64 part of structure may be passed in CPU registers.
|
| |
| |
| |
| | |
On x86_64 part of structure may be passed in CPU registers.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-8.0:
Fixed bug #80847 (CData structs with fields of type struct can't be passed as C function argument)
|
| |
| |
| |
| | |
as C function argument)
|
|/
|
|
|
|
|
|
|
|
|
| |
The extension name should match the name of the ext/ directory,
otherwise it will not get picked up by run-tests. It would be possible
to remap this in run-tests, but I think it's better to rename the
extension to follow the standard format. Other extensions also
use underscore instead of hyphen (e.g. pdo_mysql and not pdo-mysql).
Of course, the ./configure option remains hyphenated.
Closes GH-6613.
|
|\
| |
| |
| |
| | |
* PHP-7.4:
Fix bug79177.phpt wrt. JIT
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
JIT ignores that the `zend_write` callback is overwritten, so we define
our own callback and caller.
We also fix the "inconsistent DLL binding" warnings on Windows, by
introducing `PHP_ZEND_TEST_API`.
Closes GH-6391.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #79177: FFI doesn't handle well PHP exceptions within callback
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We have to error on unhandled exceptions in FFI callbacks, to avoid
passing back undefined values.
This has been discussed and agreed upon in a previous PR[1].
[1] <https://github.com/php/php-src/pull/5120>
Closes GH-6366.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fixed bug #80186
|
| |
| |
| |
| |
| | |
Early exit in FE_RESET if get_properties() returns empty array,
as we cannot add HT iterators to zend_empty_array.
|
| |
| |
| |
| |
| | |
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
|
| |
| |
| |
| | |
Closes GH-5958
|
| |
| |
| |
| | |
Closes GH-5590
|
| |
| |
| |
| | |
Closes GH-5779
|
| |
| |
| |
| |
| |
| | |
Casting objects to bool is supposed to yield `true`. Since the
`cast_object` handler is required now, we have to implement the
`_IS_BOOL` conversion there.
|
| |
| |
| |
| |
| |
| |
| |
| | |
--file-cache-prime populates the file cache,
--file-cache-use uses the file cache.
And fix a number of tests to run under file cache or disabled
timestamp validation.
|
| |
| |
| |
| | |
Closes GH-5554.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Skip test on big-endian architectures
|
| |
| |
| |
| |
| | |
Due to the memory layout on BE architectures, the address would be
`0x2a00000000` instead of `0x2a` on little-endian architectures.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #79571: FFI: var_dumping unions may segfault
|
| |
| |
| |
| |
| |
| |
| | |
We must not attempt to access arbitrary union members when retrieving
debug info, because that may not be valid. Therefore we do no longer
dereference pointer types inside of unions, but report their address as
string in `%p` format instead.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #79532: sizeof off_t can be wrong
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We have to actually determine the proper `SIZEOF_OFF_T`.
Interestingly, it is `4` on Windows x64.
We also have to prevent the redefinition in pg_config.h. The clean
solution would likely be to not include pg_config.h at all, but that's
out of scope for BC reasons for now.
|
| |
| |
| |
| |
| | |
Make it return size_t instead of int, to line up with actual
implementation.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #79472: ext/ffi/tests/040.phpt TC fails on Big endian arch
|
| |
| |
| |
| |
| | |
For now we are choosing the simplest solution, namely to skip the test
on big-endian architectures.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Improve FFI test suite for Windows
|
| |
| |
| |
| |
| |
| |
| |
| | |
We add Windows support to four existing test cases, extract some useful
utility functions, and use them to simplify further test cases.
We also remove the Windows specific code from preload.inc, since
preloading isn't supported on Windows anyway.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Export FFI::__BIGGEST_ALIGNMENT__
|
| |\ |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Allow to fetch function address
|
| |/ |
|
| |
| |
| |
| | |
Closes GH-5211
|
| |
| |
| |
| | |
Closes GH-5092
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* PHP-7.4:
Disable instantiation of zero size FFI\CData objects
Fix # 79171: heap-buffer-overflow in phar_extract_file
Fix bug #79082 - Files added to tar with Phar::buildFromIterator have all-access permissions
Fix bug #79221 - Null Pointer Dereference in PHP Session Upload Progress
|
| | |
|
| | |
|
| |
| |
| |
| | |
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #79096: FFI Struct Segfault
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We must not assume that the size of a function's return value is at
most `sizeof(ffi_arg)`, but rather have to use the size which already
has been determined for the return type if it is larger than
`sizeof(ffi_arg)`.
To be able to have a regression test, we export the required test
function from the zend-test extension, and make sure that the test
can be run on different platforms regardless of whether zend-tests was
built statically or dynamically.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Remove support for preloading on Windows
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Due to ASLR restrictions, preloading on Windows does not work with
any code that has preloading dependencies on internal classes.
This effectively makes it unusable for any non-trivial codebase.
Instead of pretending like preloading is going to work, only to
make people realize that it really doesn't once they get beyond
a dummy example, we disable support for preloading on Windows
entirely.
Closes GH-4999.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Skip test for clang builds
|
| |
| |
| |
| |
| | |
On Windows, clang builds don't use __vectorcall, so executing this test
does not make sense.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix test case for Windows
|
| | |
|