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

TSRMLS_FETCH_FROM_CTX() not applicable in PHP 7

    • 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

      In PHP 7, the entire TSRMLS macro love has been dropped.
      In the rare event TSRMLS is needed, the old macros are not kosher, and have more or less all been defined as empty (for compatabilitiy).

      However, TSRMLS_FETCH_FROM_CTX() still does assign tsrmls, but as we don't use it in PHP 7, it wind up unused and the compiler complains hiding more valuable warnings.

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

              Created:
              Updated:
              Resolved: