Skip to content

Fix AOT isset on typed array property copied to local (#848) - #873

Merged
PurHur merged 2 commits into
masterfrom
fix/aot-isset-object-property-array-848
May 23, 2026
Merged

PurHur merged 2 commits into
masterfrom
fix/aot-isset-object-property-array-848

Conversation

@PurHur

@PurHur PurHur commented May 23, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • vendor/bin/phpunit --filter isset_object_property_array (AOT link + execute)
  • vendor/bin/phpunit test/aot/AotTest.php (182 tests)
  • vendor/bin/phpunit test/unit/ObjectPropertyArrayAotCompileTest.php

Verified in Docker (php-compiler:22.04-dev).

Closes #848.

Made with Cursor

PurHur and others added 2 commits May 23, 2026 06:46
Initialize hashtable locals to null before assignOperand free(), detach
object property slots in dimFetch like isset, and load typed array properties
directly in IssetHelper. Makes isset_object_property_array.phpt execute green.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit a7f05fb into master May 23, 2026
@PurHur
PurHur deleted the fix/aot-isset-object-property-array-848 branch May 23, 2026 06:49
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.

Testing: isset_object_property_array.phpt AOT execute green (resolveAppName, #764)

1 participant