mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-06 05:58:59 +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 |