Create macros for assigning zvals to HashTables

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      In the code review for PHPC-1849, andreas.braun suggested creating macros for the common case of declaring/setting a zval and assigning to to a HashTable. This is frequently done in get_properties_hash helpers for various classes. Unlike the array macros, no such macros exist for HashTable.

      See:

       * https://github.com/mongodb/mongo-php-driver/pull/1246#discussion_r699193650
       * https://github.com/mongodb/mongo-php-driver/pull/1246#discussion_r699197023

              Assignee:
              Unassigned
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: