mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-02 17:28:27 +01:00
1fe8f09caa
We can't strip the <?php at the end of a __halt_compiler() segment in file mode. Fixed by being a bit more explicit in prettyPrintFile() about what we want to do...
27 lines
219 B
Plaintext
27 lines
219 B
Plaintext
__halt_compiler
|
|
-----
|
|
<?php
|
|
|
|
echo 'foo';
|
|
__halt_compiler();
|
|
!!!
|
|
???
|
|
-----
|
|
<?php
|
|
|
|
echo 'foo';
|
|
__halt_compiler();
|
|
!!!
|
|
???
|
|
-----
|
|
<?php
|
|
|
|
echo 'foo';
|
|
__halt_compiler();
|
|
<?php
|
|
-----
|
|
<?php
|
|
|
|
echo 'foo';
|
|
__halt_compiler();
|
|
<?php |