Skip to content

ext/phar: Avoid redundant manifest hash lookup in offsetUnset()#22437

Open
arshidkv12 wants to merge 1 commit into
php:masterfrom
arshidkv12:phar-5
Open

ext/phar: Avoid redundant manifest hash lookup in offsetUnset()#22437
arshidkv12 wants to merge 1 commit into
php:masterfrom
arshidkv12:phar-5

Conversation

@arshidkv12

@arshidkv12 arshidkv12 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Replace zend_hash_exists() + zend_hash_find_ptr() with a single
zend_hash_find_ptr() call and a NULL check, avoiding an unnecessary
HashTable lookup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant