forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
sync #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
sync #23
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It doesn't seem like the VM can return RCn. However, the JIT fails without it. I'll need to look into this more closely.
* Added DateTime[Immutable]::[get|set]Microseconds
…NG (#13311) Instead of writing to the engine's state struct directly, use the helpers for consistency.
8MB sounded a prudent size for older 10.9 macOs release, however with newer mac with arm64, it triggers a stack overflow. close GH-13319
* PHP-8.3: Fix unlikely memory leak in case of namespace removal with extremely deep trees
* PHP-8.3: [ci skip] Fix NEWS date again
Co-authored-by: Dmitry Stogov <[email protected]> Closes GH-12461
Odd, I rebuilt the project but somehow missed this.
* Refactor utsname.domainname struct member Autoconf check Autoconf's AC_CHECK_MEMBERS macro (available since Autoconf 2.50) can be used instead of the compile check. This was originally implemented for IRIX compatibility, when Autoconf 2.13 didn't have the struct members checking macro yet. Macro by default here defines the HAVE_STRUCT_UTSNAME_DOMAINNAME symbol. * Remove also redundant DARWIN symbol check Checking in the configuration step also correctly detects missing struct member on Darwin systems (macos...).
Fixes oss-fuzz #66519 Closes GH-13345
Creating PRs against forks requries having up-to-date target branches. Pushing to these currently triggers CI, which is useless as this commit was already tested upstream. Contributions are tested via pull request.
which is used on 32-bit machines.
zend_execute_internal is used to intercept function calls. We must use the DO_FCALL opcode in this instance.
* Removed ext/oci8 and ext/pdo_oci They now live in their own repositories: https://github.com/php/pecl-database-oci8 https://github.com/php/pecl-database-pdo_oci As per: https://wiki.php.net/rfc/unbundle_imap_pspell_oci8
…re writing it to memory
When targeting Darwin systems (macOS, etc.), the compiler defines the __APPLE__ symbol, which should be sufficient and a more established detection method practice in these cases.
This reverts commit bf4ec8b. Partial revert, keep the phpdbg changes.
RFC: https://wiki.php.net/rfc/rfc1867-non-post This function allows populating the $_POST and $_FILES globals for non-post requests. This avoids manual parsing of RFC1867 requests. Fixes #55815 Closes GH-11472
…ecute null value by reference. For these, when passing null values by refence, queries return erroneous values unlike pg_query_params behaving as expected. close GH-13355.
… in PHP 8.2.15 When unserializing, the cached_resize field was not reset to -1 correctly, causing the setSize() method to think we were inside of a resize operation. Closes GH-13543.
* PHP-8.2: Fix GH-13531: Unable to resize SplfixedArray after being unserialized in PHP 8.2.15
* PHP-8.3: Fix GH-13531: Unable to resize SplfixedArray after being unserialized in PHP 8.2.15
The clock_gettime() is found in libc on modern systems, except on Solaris <= 10 and possible similar systems, it is in the rt library. This checks if clock_gettime() exists in the libc, then it checks if rt library has clock_gettime, prepends it to LIBS and defines the HAVE_CLOCK_GETTIME symbol with the template from the AC_CHECK_FUNCS. The ac_cv_func_clock_gettime is a cache variable set by AC_CHECK_FUNCS.
Those are likely link from elsewhere so we could keep them
For Solaris/illumos systems, in this case, the check can be done using AC_SEARCH_LIBS, which avoids defining redundant symbols like HAVE_PGRAB and HAVE_LIBPROC.
This removes redundant symbols HAVE_LIBUTIL and HAVE_LIBBSD.
* PHP-8.2: Removed `REPORT_EXIT_STATUS=no` in libmysql tests
* PHP-8.3: Removed `REPORT_EXIT_STATUS=no` in libmysql tests
* random: Expose xoshiro256**'s seeding functions * random: Expose pcgoneseq128xslrr64's seeding functions * random: Expose Mt19937's seeding functions * random: Expose CombinedLCG's seeding functions * random: Call php_random_mt19937_seed32 to seed the global Mt19937 This avoids the function pointer indirection and improves type safety. * random: NULL the generic seeding function Different engines work quite differently, it is not useful to attempt to seed them in a generic way using a 64 bit integer. As an example Mt19937 completely ignores the upper 32 bits. * random: Remove the `seed` member from `php_random_algo` See the explanation in the previous commit for the reasoning. This member is unused since the previous commit and was not consistently available even before that (specifically for the Secure engine). * UPGRADING.INTERNALS * random: Remove useless cast in `php_mt_srand()`
This is to provide an alternative to the $http_response_header magic variable RFC: https://wiki.php.net/rfc/http-last-response-headers
Apparently PHP 8.2.17 was branched off after creating the PR and before merging it, placing the NEWS in the wrong location.
* PHP-8.2: [ci skip] Fix version for GH-13544 in NEWS
* PHP-8.3: [ci skip] Fix version for GH-13544 in NEWS
This prepends -lnetwork as needed (Haiku) whether linker sees the setsockopt function and avoids defining redundant symbols, such as HAVE_LIBNETWORK and HAVE_SETSOCKOPT.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.