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

get_module_info() test function may fail to match some phpinfo() values

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.15.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None

      The get_module_info() helper for tests dates back to f4cf0fe for PHPC-1113.

      The regex pattern used to match phpinfo() values only matches word characters (i.e. letters, numbers, and underscores). This can be problematic for values that contain version strings, among other things.

      This ticket came up while working on PHPC-2103, and has a corresponding PHPLIB ticket since this old code was recently lifted to that project.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: