Re: PHP_CompatInfo 2.0.0RC4 will use PHP_Reflect 0.7.0
| From: | Laurent Laville | Date: | Sat, 16 Apr 2011 15:57:00 +0000 |
| Subject: | Re: PHP_CompatInfo 2.0.0RC4 will use PHP_Reflect 0.7.0 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54216@lists.php.net to get a copy of this message | ||
Le 16/04/2011 17:24, Laurent Laville a écrit :
Hello all, I think that the global var detection is a cool feature that may be used on other project that PHP_CompatInfo. The new version of PHP_Reflect (0.7.0) is already available on my PEAR channel [1]. Easy to use. But in waiting the user guide for final stable version 1.0.0, you can have a look on unit tests (tests\Token\GlobalTest.php), that will show how to use it. The new version of PHP_CompatInfo 2.0.0RC4 that will use PHP_Reflect 0.7.0 will be soon available on my github account [2] Stay tuned Laurent Laville [1] http://bartlett.laurent-laville.org/ [2] https://github.com/llavilleAlmost 2 years, but request [1] about detecting global variables as a solution. CLI tool version : $ phpci --report global /path/to/source API version : <?php require_once 'Bartlett/PHP/CompatInfo.php'; $phpci = new PHP_CompatInfo(); $phpci->parse('/path/to/source'); $globals = $phpci->getGlobals(); ?> [1] http://pear.php.net/bugs/bug.php?id=16247