You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
json_encode and get_object_vars show uninitialized typed properties, which php skips #115
area:runtimeRuntime: shutdown, traces, collectorbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Known-bug repro: tests/aot/repro/wrong/json_encode_uninitialized_typed_props.php — bash tests/aot/xfail.sh -k json_encode_uninitialized_typed_props reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Scope: layout/ABI epic. The runtime has no 'uninitialized' state for typed properties (var_dump shows 0/NULL), so json_encode/get_object_vars cannot skip them. Needs an uninit sentinel in the property layout (MemoryAbi) + readers that throw 'must not be accessed before initialization'. Skipped in batch C.
area:runtimeRuntime: shutdown, traces, collectorbugSomething isn't workingneeds-designNeeds a design/epic, not a local fixwrong-answerCompiles and runs, output differs from php
Activity
JSON: objects encode through a descriptor walker (ABI 19); decoder fa…
JSON: native encoder/decoder for every flag, strict php-parity decode…
blacktrs commentedon Oct 13, 2026
Scope: layout/ABI epic. The runtime has no 'uninitialized' state for typed properties (var_dump shows 0/NULL), so json_encode/get_object_vars cannot skip them. Needs an uninit sentinel in the property layout (MemoryAbi) + readers that throw 'must not be accessed before initialization'. Skipped in batch C.