| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* 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)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Affects ZEND_NS_FE
Add test cases of the global function
Backported to php 8.0 from GH-6664
|
| |
| |
| |
| | |
Closes GH-6701
|
| |
| |
| |
| | |
Related to GH-6701
|
| |
| |
| |
| |
| |
| | |
enabled
Closes GH-6675
|
| |
| |
| |
| |
| |
| |
| |
| | |
Affects both INIT_NS_CLASS_ENTRY and ZEND_NS_FE
Add test cases of the global function and namespaced values
Closes GH-6664
|
|\ \
| |/
| |
| |
| | |
* PHP-8.0:
XFAIL observer_error_05.phpt test
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-8.0:
Observe fake closures
|
| |
| |
| |
| | |
Closes GH-6607.
|
|\ \
| |/
| |
| |
| | |
* PHP-8.0:
Skip dummy frames allocated on CPU stack of zend_call_function(). (Usage of "current_observed_frame" varible looks unsafe to me).
|
| |
| |
| |
| | |
(Usage of "current_observed_frame" varible looks unsafe to me).
|
| |
| |
| |
| |
| |
| | |
Closes GH-6289
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
| |
| |
| |
| | |
This test fails in --repeat mode with tracing JIT.
|
|/
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Use %e instead of a hardcoded forward slash.
|
|
|
|
|
|
| |
Opcache inlines functions that only return a constant. Disable
optimizations to prevent differences in tests where such functions
are used (or rewrite the test to not depend on it).
|
| |
|
|
|
|
|
|
|
| |
Make sure that the return value is available to observers, even if
it is not used by the caller.
Closes GH-6422.
|
|
|
|
| |
Closes GH-6377
|
| |
|
|\
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
Closes GH-6378
|
| |
| |
| |
| |
| | |
Add the namespace prefix (using underscores) to both the arginfo
name and the method declaration name.
|
| | |
|
| |
| |
| |
| |
| | |
The linkage can be specified as the argument to the
@generate-function-entries tag. Test this on zend_test.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The motivation for this change is to prevent extensions from having to check executor globals for the current execute_data during function call init. A previous implementation of the observer API initialized the function call from runtime cache initialization before execute_data was allocated which is why zend_function was passed in.
But now that the observer API is implemented via opcode specialization, it makes sense to pass in the execute_data. This also keeps the API a bit more consistent for existing extensions that already hook zend_execute_ex.
Closes GH-6209
|
| |
| |
| |
| |
| | |
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
They will now follow the canonical order of types. Older macros are
left intact due to maintaining BC.
Closes GH-6112
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Closes GH-5857.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
Co-authored-by: Sammy Powers <sammyk@datadoghq.com>
|
| |
| |
| |
| | |
Related to GH-5627
|
| |
| |
| |
| |
| |
| |
| |
| | |
RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
Closes GH-5796.
Co-authored-by: Martin Schröder <m.schroeder2007@gmail.com>
|
| | |
|
| | |
|
| |
| |
| |
| | |
Closes GH-5758
|
| |
| |
| |
| | |
Closes GH-5788
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RFC: https://wiki.php.net/rfc/attribute_amendments
Support for attribute grouping is left out, because the short
attribute syntax RFC will likely make it obsolete.
Closes GH-5751.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We fix (hopefully) all instances of:
* <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4005>
* <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4024>
* <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4028>
* <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4047>
* <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4087>
* <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4090>
* <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4273>
* <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4312>
`zend_llist_add_element()` and `zend_llist_prepend_element()` now
explicitly expect a *const* pointer.
We use the macro `ZEND_VOIDP()` instead of a `(void*)` cast to suppress
C4090; this should prevent accidential removal of the cast by
clarifying the intention, and makes it easier to remove the casts if
the issue[1] will be resolved sometime.
[1] <https://developercommunity.visualstudio.com/content/problem/390711/c-compiler-incorrect-propagation-of-const-qualifie.html>
|
| |
| |
| |
| | |
Co-authored-by: Martin Schröder <m.schroeder2007@gmail.com>
|
| |
| |
| |
| | |
Closes GH-5618
|
|\ \
| |/
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
Closes GH-5368
|