PHP_CompatInfo API 1.7.0 roadmap (ready for release: call for testers)

From: Date: Thu, 21 Feb 2008 17:25:19 +0000
Subject: PHP_CompatInfo API 1.7.0 roadmap (ready for release: call for testers)
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-49176@lists.php.net to get a copy of this message
Hi all, I've just finished to implement the new options that allow to mask locally a script/dir functions, extensions or constants. All options below have almost the same content/behavior: = array ( $compare_function, array('pattern1' [, 'patternX']) ) 'pattern' follow the same syntax as used by php function preg_match - "ignore_functions_match" $compare_function = 'function_exists' or 'preg_match' - "ignore_extensions_match" $compare_function = 'extension_loaded' or 'preg_match' - "ignore_constants_match" $compare_function = 'defined' or 'preg_match' Usage examples are provided in Standard Test Suite [1] 1. for option : "ignore_functions_match" see: testParseFileWithIgnoreFunctionsMatchSamp1(),
         testParseFileWithIgnoreFunctionsMatchSamp2(),
         testParseFileWithIgnoreFunctionsMatchSamp3()
2. for option : "ignore_extensions_match" see: testParseFileWithIgnoreExtensionsMatchSamp1(),
         testParseFileWithIgnoreExtensionsMatchSamp2()
3. for option : "ignore_constants_match" see: testParseFileWithIgnoreConstantsMatchSamp1(),
         testParseFileWithIgnoreConstantsMatchSamp2()
I plan to publish the stable release 1.7.0 on March 17, but I will enjoy to have first some feedback, and why not found some nasty bugs (if any). So I'll release the version 1.7.0a1 (alpha), with a full operational Unit Test Suites, in next minutes. I consider the API 1.7.0 stable, so I encourage everybody that use PHP_CompatInfo to upgrade their version. At least, I plan to add new options to the CLI part, and also complete the PEAR pages manual before the dead line (2008-03-17). Regards Laurent Laville [1] http://cvs.php.net/viewvc.cgi/pear/PHP_CompatInfo/tests/PHP_CompatInfo_TestSuite_Standard.php?view=log

« previous php.pear.dev (#49176) next »