Language: E_DEPRECATED on false→array dim write (#22828)#22857
Merged
Conversation
Match Zend 8.1+ FETCH_DIM_W: promote false to [] after the automatic-conversion deprecation; keep null silent and true as Error. Sync spine footnotes to 6512. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 24, 2026
PurHur
added a commit
that referenced
this pull request
Jul 24, 2026
…22866) Post-#22847 merges (#22857/#22862/#22863/#22864/#22865) moved live lowering_source_fingerprint to 9aee9361… while the committed stamp stayed at 159f4081…, redding north-star5-verify-fast step 4f-m and user_release_ready. Restamp only; honest verified-fresh remains on #22642/#22717. Co-authored-by: PurHur <PurHur@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
E_DEPRECATED: Automatic conversion of false to array is deprecatedwhenFETCH_DIM_W/[]=auto-vivifies afalsecontainer (zend_execute.c), then promote to[]as before (Language: $false[] = $v fatals — Zend promotes false to array like null (Zend/zend_execute.c) #22650).true/scalars stillError.ErrorReporter::internalDeprecated; JIT viaDynamicPropertyDeprecationGuard::emitFalseToArray.Closes #22828
php-src reference
Zend/zend_execute.c/Zend/zend_vm_def.h— assign-dim / fetch-dim-w false→array deprecationTest plan
vendor/bin/phpunit --filter 'append_false_to_array_deprecated|append_false_promotes_array'php script/bootstrap-inventory.php --check→ OK 6512/6512Verification
Trust probe (pre-claim)
user_release_ready: no—north-star5-fastred at 4f-m gen-0 manifest/driver mismatch (Self-host M5: bootstrap-inventory argv driver size floor — grow beyond 451KB stub #8713 / Gen-1+ #1492: committed gen-0 seed cannot be rebuilt — refresh OOMs at 48 GiB, 44 restamps since the blob last changed (script/bootstrap-refresh-gen0-sidecar.sh) #22642 in flight); inventory/spine/vm-driver-probe ok. This PR does not touch gen-0 blobs.Made with Cursor