Skip to content

[pull] master from php:master#589

Merged
pull[bot] merged 7 commits intoturkdevops:masterfrom
php:master
Dec 13, 2025
Merged

[pull] master from php:master#589
pull[bot] merged 7 commits intoturkdevops:masterfrom
php:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Dec 13, 2025

See Commits and Changes for more details.


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

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

bukka and others added 7 commits December 13, 2025 11:42
zval_get_string() can never return NULL, you need to use the try version
to get NULL. This is observable because the process will still spawn
even if an exception had occurred. To fix this, use the try variant.

Closes GH-20650.
* PHP-8.3:
  standard: Fix error check for proc_open() command
* PHP-8.4:
  standard: Fix error check for proc_open() command
* PHP-8.5:
  standard: Fix error check for proc_open() command
While it is possible to return a custom SplFileInfo object in the
iterator used by buildFromIterator(), the data is not actually used from
that object, instead the data from the underlying internal structure is
used. This makes it impossible to override some metadata such as the
path name and modification time.

The main motivation comes from two reasons:
- Consistency. We expect our custom methods to be called when having a
  custom object.
- Support reproducibility. This is the original use case as requested in
  [1].

Add support for this by calling the getMTime() and getPathname() methods
if they're overriden by a user class.

[1] theseer/Autoload#114.
@pull pull bot locked and limited conversation to collaborators Dec 13, 2025
@pull pull bot added the ⤵️ pull label Dec 13, 2025
@pull pull bot merged commit c9008f6 into turkdevops:master Dec 13, 2025
1 check failed
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