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

Regex constructor should default flags arg to empty string

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0-alpha2, 1.2.0
    • Affects Version/s: 1.1.8
    • Component/s: None
    • Labels:
      None

      This seems like a usability improvement (similar to PHPC-536 for UTCDateTime).

      The flags field can be left as required for __wakeup() and __set_state(), since it will always be present in serialize() and var_export() output.

            Assignee:
            derick Derick Rethans
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: