Skip to content

Zend: Name map ptr chunk size constants - #23109

Open
LamentXU123 wants to merge 2 commits into
php:masterfrom
LamentXU123:ref-magic-num
Open

Zend: Name map ptr chunk size constants#23109
LamentXU123 wants to merge 2 commits into
php:masterfrom
LamentXU123:ref-magic-num

Conversation

@LamentXU123

@LamentXU123 LamentXU123 commented Aug 7, 2026

Copy link
Copy Markdown
Member

Let's prevent writing 4095 and 4096 as a magic number, its indeed confusing, instead use ZEND_MAP_PTR_CHUNK_MASK and ZEND_MAP_PTR_CHUNK_SIZE

Comment thread Zend/zend_map_ptr.h Outdated
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.

2 participants