Regex constructor should default flags arg to empty string

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.2.0-alpha2, 1.2.0
    • Affects Version/s: 1.1.8
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Rethans
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: