Skip to content

[pull] master from php:master#889

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

[pull] master from php:master#889
pull[bot] merged 10 commits into
dolfly: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 10 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
Sometimes running `./configure` for ASAN hangs on my machine. This is
reproducible when compiling and running the program manually using

    clang-16 -g -fsanitize=undefined,address test.c

It seems this is related to the LLVM symbolizer getting stuck, and the
symbolizer is likely required to report the memory leak. After adding the
memory management functions it seems to work (or rather fail) reliably.
This macro is very rarely used and badly named by neither including the `IS`
nor the `AST` in its name.
@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 7330366 into dolfly:master Jul 6, 2026
1 check 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.

6 participants