llaville/php-compat-info — Issue #26: "classMemberAccessOnInstantiation" mistake detecting?
Author: sasezaki
Created: 2012-02-04 18:38:00+00:00
State: open

Hi, I installed php-compat-info ver 2.2.1.
currently, seems to be detecting as "class member access on instantiation" incorrectly.

sample code is here.

```php
getA()->getB()));
}
}

require_once 'Bartlett/PHP/CompatInfo.php';
$compatinfo = new PHP_CompatInfo(array('cacheDriver' => 'Null'));
$compatinfo->parse(__FILE__);
$info = current($compatinfo->toArray());
var_dump($info["versions"]);
```
output:
```
array(2) {
[0]=>
string(5) "5.4.0"
[1]=>
string(0) ""
}
```

( I found this issue at investigation of Zend Framework2.)
```
phpci print --report token /path/to/zf2/library/Zend/Code/Reflection/
```