• Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.1
    • Affects Version/s: 1.0.0-alpha2
    • Component/s: None
    • None

      As stated by PHPC-373, the use of zval*s in php_phongo.c is problematic due to huge amount of PHP API changes (no longer operates on pointers to pointers).

      convert_to_ex() for example takes a zval, not zval**.

      The places where we are doing these casts are mostly when we read things from an array and populating correct bson types.

      It looks like most of these could have already been zval_to_bson() already and plucked out from the bson_t.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: