Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-374

zend_string* vs char* PHPAPI changes

    • 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

      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:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: