-
Notifications
You must be signed in to change notification settings - Fork 78
TokenArrayScanner fails on php 7.0.5 #49
Comments
@danez was there a change from 7.0.4 to 7.0.5 that broke this, or is the change just related with PHP 7.x? |
It was working with 7.0.4, but with 7.0.5 it does not. Not sure which change in php could have caused that. There is one where they mention variable scope, which could be. But I also couldn't really found the issue, debugging all the goto statements in the scanner is a little bit hard. When I tried debugging it seemed that inside ->scan() the $tokenType is never changing. |
@danez should be brought up with php internals then: there might be a BC break that wasn't documented in the release log. |
I reported it: https://bugs.php.net/bug.php?id=71948 |
The issue is apparently already fixed with https://bugs.php.net/bug.php?id=71914 and hopefully will be included in 7.0.6 |
As with PHP 7.0.5 the TokenArrayScanner is not working anymore with zend-code 2.
I have no further info, except that when using the FileScanner it does not produce any info when calling scan().
The text was updated successfully, but these errors were encountered: