Skip to content

Stdlib: NestedJIT runtime mb_stripos() for AOT (#34158) - #34161

Merged
PurHur merged 1 commit into
masterfrom
fix/34158-mb-stripos-runtime-aot
Aug 23, 2026
Merged

Stdlib: NestedJIT runtime mb_stripos() for AOT (#34158)#34161
PurHur merged 1 commit into
masterfrom
fix/34158-mb-stripos-runtime-aot

Conversation

@PurHur

@PurHur PurHur commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • ./script/aot-smoke.sh8 passed, 0 failed
  • Zend / VM / AOT repro test/repro/issue_34158_mb_stripos_runtime_aot.php → byte-identical (hit=1, miss=false, lit=1, jp=1)
  • ./script/phpunit.sh --filter Issue34158MbStriposRuntimeAotTest → OK (2 tests)

php-src: ext/mbstring/mbstring.cPHP_FUNCTION(mb_stripos)

Made with Cursor

Extend MbSearchJitHelper with striposArgv (ASCII A–Z fold + existing UTF-8 search)
so non-constant haystack/needle compile under thin AOT, peer of #34146.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 9395e24 into master Aug 23, 2026
1 check failed
@PurHur
PurHur deleted the fix/34158-mb-stripos-runtime-aot branch August 23, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stdlib: mb_stripos() JIT/AOT happy-path leftover of #34146 — runtime args LogicException (ext/mbstring/mbstring.c)

1 participant