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
Optimize destructuring of array literals to elide intermediate array #23048
Hi Tim, I've tried this as a compile-time rewrite in zend_compile_assign() and it works — the swap goes from 922 to 467 instructions with the opcodes you describe — so I'll take it and open a PR.
Activity
ArtUkrainskiy commentedon Oct 6, 2026
Hi Tim, I've tried this as a compile-time rewrite in zend_compile_assign() and it works — the swap goes from 922 to 467 instructions with the opcodes you describe — so I'll take it and open a PR.
Zend: Compile a list assignment from an array literal without the array
Zend: Compile a list assignment from an array literal without the array
Zend: Compile a list assignment from an array literal without the array
Zend: Compile a list assignment from an array literal without the array
Zend: Compile a list assignment from an array literal without the array
Zend: Compile a list assignment from an array literal without the array