-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
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.
- is related to
-
PHPLIB-942 FunctionalTestCase::getModuleInfo may fail to match some phpinfo() values
- Closed
-
PHPC-1113 Migrate tests to use a common URI environment variable
- Closed
-
PHPC-2103 Allow applications to detect crypt_shared availability
- Closed