Re: PHP_CompatInfo 2.0.0RC4 - a question about specificPHP5part detection
| From: | Laurent Laville | Date: | Tue, 12 Apr 2011 21:12:10 +0000 |
| Subject: | Re: PHP_CompatInfo 2.0.0RC4 - a question about specificPHP5part detection | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54209@lists.php.net to get a copy of this message | ||
Le 12/04/2011 22:16, Laurent Laville a écrit :
Le 11/04/2011 11:22, Jan Schneider a écrit :Available to download. Here are the changes https://github.com/llaville/php-compat-info/commit/5dd971cf7e05a3ab438295ed0b36cd3a8b5dbafe Roadmap to conclude all dev and prepare RC4 : - add includes report - add global report and detection Should be available at the end of this week !Zitat von Laurent Laville <pear@laurent-laville.org>:Hello and thanks Jan for your feedback. I've almost finish my approach. It should be available soon on my github page (probably in next 2 hours or tomorrow). You can then download a tarball [1] or zip [2] archive and test it if you want. Actually, there is another report named "token", something like others. That may also be combined. $ phpci print --report token /path/to/source For example: ------------------------------------------------------------------------------- PHP COMPAT INFO TOKEN SUMMARY ------------------------------------------------------------------------------- TOKEN EXTENSION VERSION COUNT ------------------------------------------------------------------------------- instanceof standard 5.0.0 1 ------------------------------------------------------------------------------- A TOTAL OF 1 TOKEN(S) WERE FOUND REQUIRED PHP 5.0.0 (MIN) ------------------------------------------------------------------------------- Time: 0 seconds, Memory: 9.25Mb ------------------------------------------------------------------------------- Scanning Horde_Url-1.0.0beta1 gave finally the right result $ phpci print --report token summary /path/to/Horde_Url-1.0.0beta1/lib/Horde Laurent [1] https://github.com/llaville/php-compat-info/tarball/master [2] https://github.com/llaville/php-compat-info/zipball/masterHello all, RC4 is on good way ! I've just commited today on my github account [1] a new version (0.6.0) of my PHP parser (PHP_Reflect), also available on my PEAR channel [2]. This version provides more support of namespaces. My last development before to release RC4 on April 24 need a feedback / "point of view" of users. There are some specific code like : try, catch, throw, clone, __halt_compiler, instanceof, "type casting", use, goto that came with PHP5. It's not called as standard functions. So my question: - Do you want to have it reported as another report (which name ?) - Just take it from scope on detection, but does not shown nowhere ? Hope my request as enough clear. Waiting for you ...I'd vote for a separate category like "language feature" or "token" (the latter due to these statements having individual parser tokens, while functions don't. but this may be a "too internal" approach). Jan.