zend_string* vs char* PHPAPI changes

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

      Many functions in the PHP API that used to take/return a char* (and length) now expect/return zend_string instead.

      It'll become very messy very fast to work around this inline.
      I think a phongo_char macro defining zend_string/char might work, with couple of helpers like phongo_char_free() and phongo_str() macros.

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

                Created:
                Updated:
                Resolved: