Nikita Popov
Nikita Popov
As these are functions and not methods, we can change the reflection info anytime.
Arginfo fixed by https://github.com/nikic/php-ast/commit/195036c7eec2ec47afde8b85c4b2caaa28271a0c.
In a few more words: This extension only exposes what PHP provides. As PHP has no need for whitespace itself, the information is not preserved (and I expect it will...
@TysonAndre We ended up reverting the location support, because it had some performance impact.
@lisachenko It's still a bit early for PHP 7.1 (we haven't even branched yet), I'd wait until PHP 7 is out :)
I'd expect that this would be integrated in core by simply bundling it, i.e. with the behavior entirely unchanged.
Any particular use case you have in mind for this?
This seems pretty simple on the surface -- but I'm not sure what the best way to handle cross-overs is. Naively this would end up crossing over between the uncompressed...
Something to consider here is that the pseudo-main scope of a file does not necessarily coincide with the global scope. Consider this scenario: ``` php // file1.php