Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Aug 30, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

TimWolla and others added 8 commits August 30, 2025 21:04
…9623)

The actual parser definitions are all `const` and must never be modified. Make
sure to always use `const` pointers.
…ce fails (#19628)

* uri: Fix double-free when assigning `$errors` by reference fails

`ZEND_TRY_ASSIGN_REF_ARR()` apparently consumes the to-be-assigned value even
when it fails.

* uri: Fix leak of parsed URI when assigning soft errors by reference fails

This is not reproducible, because the URI object will still be referenced by
Lexbor’s mraw instance and then cleanly destroyed at the end of the request.

* NEWS
* uri: Do not copy the `property_handlers` struct in `uri_get_debug_properties()`

* uri: Remove now-useless `uri_property_handlers_t` struct

This struct was just used for “namespacing” within the `uri_parser_t` struct.
It is no longer referenced anywhere.
The implementation only supports one possible representation of the port.
Retrieve the raw representation to avoid unnecessarily normalizing the URI for
uri_parser_rfc3986.
…19619)

* opcache: Do not emit “temporary enabling” message when OPcache is already active

An easy way to accidentally enable OPcache “temporarily” is by using
`php_admin_value[opcache.enable]=1` within a FPM pool’s configuration, since
the `php_admin_value` settings mostly behave like settings in php.ini, with
many OPcache INI settings being a notable exception.

As long as OPcache is already enabled within php.ini (or simply by default),
emitting a warning for `php_admin_value[opcache.enable]=1` or similar is going
to be confusing, since is not actually temporarily enabling anything.

A follow-up commit will also try to detect this kind of incorrect configuration
and try to provide better advice for cases where OPcache is actually not yet
enabled.

* opcache: Improve error message when OPcache is enabled dynamically

The error message will now advice on the `php_admin_value[opcache.enable]=1`
mistake. It will also send the message to OPcache’s logging facility instead of
the regular error handling logic during startup so that it will not be made
available to `error_get_last()`, since it is related to a specific request and
thus not actionable by a script either.

#19146 made a related change to `opcache.memory_consumption`.

* opcache: Fix typo in warning message

* opcache: Use more formal language in warning message
@pull pull bot locked and limited conversation to collaborators Aug 30, 2025
@pull pull bot added the ⤵️ pull label Aug 30, 2025
@pull pull bot merged commit 2a086e4 into wudi:master Aug 30, 2025
8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants