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

zend_throw_exception() return value 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
    • Labels:
      None

      zend_throw_exception() no longer returns the zval, only the inner zend_object.

      We only use it in one place, to add additional property to the exception.
      A workaround would be to access EG(exception) (which also, isn't a zval anymore but zend_object) and add the property to that object.

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

              Created:
              Updated:
              Resolved: