Skip to content

ext/phar: refactor phar_entry_info.link field#21790

Merged
Girgias merged 1 commit intophp:masterfrom
Girgias:2026-04-phar-link-entry-as-zstr
Apr 18, 2026
Merged

ext/phar: refactor phar_entry_info.link field#21790
Girgias merged 1 commit intophp:masterfrom
Girgias:2026-04-phar-link-entry-as-zstr

Conversation

@Girgias
Copy link
Copy Markdown
Member

@Girgias Girgias commented Apr 17, 2026

  • Rename field to symlink so that what this field represents is clear
  • Convert it from a char* to a zend_string*
  • Refactor the implementation of phar_get_link_location() to always return a "new" zend_string*
  • Refactor the implementation of phar_get_link_source() to make it more legible

Rename field to symlink so that what this field represents is clear
Convert it from a char* to a zend_string*
Refactor the implementation of phar_get_link_location() to always return a "new" zend_string*
Refactor the implementation of phar_get_link_source() to make it more legible
@Girgias Girgias marked this pull request as ready for review April 17, 2026 19:25
@Girgias Girgias merged commit b33fee5 into php:master Apr 18, 2026
19 checks passed
@Girgias Girgias deleted the 2026-04-phar-link-entry-as-zstr branch April 18, 2026 15:27
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