return_value_ptr and return_value_used removed in PHP 7

XMLWordPrintableJSON

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

      return_value_ptr and return_value_used are removed in PHP 7.

      We don't use return_value_ptr (other then to cast it to (void) to avoid unused-variable warnign), but return_value_used to do use in couple of cases to skip bson encoding/decoding when we know it serves no purpose.

      The return_value_used should be hardcoded to 1 in PHP 7 as there is nothing similar to it anymore.

      For the unused-argument warning, we can create a version macro for it.

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              Hannes Magnusson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: