Skip to content

php-in-php: lazy StringTriggerError from Type::register (#35392) - #35394

Merged
PurHur merged 1 commit into
masterfrom
fix/35392-type-register-lazy-string-trigger-error
Aug 27, 2026
Merged

php-in-php: lazy StringTriggerError from Type::register (#35392)#35394
PurHur merged 1 commit into
masterfrom
fix/35392-type-register-lazy-string-trigger-error

Conversation

@PurHur

@PurHur PurHur commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

php-src: Zend/zend_execute_API.c, main/php_errors.c, ext/standard/basic_functions.c (trigger_error)

Closes #35392

Test plan

  • ./script/phpunit.sh --filter 'TypeRegisterLazyStringTriggerError|TypeDeadTriggerErrorAbi|TypeDeadUndefinedArrayKeyAbi|TypeDeadTypeInitializeLazyTimeEnvTriggerPending|TriggerErrorHelperRuntimeO033248|ContextMinimalStandaloneLazyStringTriggerError'OK (23 tests, 156 assertions)
  • ./script/aot-smoke.sh8 passed, 0 failed
  • No new runtime/*.c / lib/AOT/runtime/*.c

Made with Cursor

Drop Type::register always-on declare+ensureLinked; HashTable::implement and
JitScalarEnumCoerce ensure before lookup. SilenceRuntime/JitTriggerErrorKernel
early-returns still link StreamLifecycle so HELPER_RUNTIME_O=0 NestedJIT cannot
skip fflush after a prior in-NestedJIT ensureLinked (#32122 .1 mint class).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 9de389e into master Aug 27, 2026
1 check failed
@PurHur
PurHur deleted the fix/35392-type-register-lazy-string-trigger-error branch August 27, 2026 07:57
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.

php-in-php: drop Type::register always-on StringTriggerError — lazy at HashTable::implement / call sites (Zend/zend_execute_API.c)

1 participant