Skip to content

[pull] master from php:master#1067

Merged
pull[bot] merged 7 commits into
turkdevops:masterfrom
php:master
Jul 6, 2026
Merged

[pull] master from php:master#1067
pull[bot] merged 7 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jul 6, 2026

Copy link
Copy Markdown

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 : )

jorgsowa and others added 7 commits July 6, 2026 18:06
…php (#22597)

getPathName() was called instead of the correctly-cased getPathname().
…l() (#22598)

Avoid duplicating the namespace-separator split logic.
None of these files have use the sys/param.h file.
)

sleep(4294967296) actually sleep 0 seconds because of a unsigned int overflow
bug. This is also true in usleep.

I target this to master as a fix that is classified as a stricter parsing. Now we
throw ValueError instead.

p.s. in Windows, the sleep function is implemented with 
SleepEx (t * 1000, TRUE) not php_sleep, phew, so we need to lower the
threshold to UINT_MAX / 1000 in Windows
…nd (#22582)

shift_operator_helper() wrote ZVAL_UNDEF(return_value) on the out-of-range
exponent/shift path, but for a compound assignment return_value aliases op1,
so pow_function's fallback then reached the scalar conversion with op1 set to
IS_UNDEF and hit ZEND_UNREACHABLE(). Drop the stray undef; the helper's other
error paths already return FAILURE without touching return_value, leaving the
operand intact for the thrown ValueError to propagate.

Fixes GH-22549
uriparser 1.0.3 has to be released containing some missing symbols in order to be able to build PHP with the "--with-external-uriparser" option.

Closes #22553
@pull pull Bot locked and limited conversation to collaborators Jul 6, 2026
@pull pull Bot added the ⤵️ pull label Jul 6, 2026
@pull pull Bot merged commit 3704518 into turkdevops:master Jul 6, 2026
1 of 3 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.

5 participants