gbmrocks / phpobfuscator

Automatically exported from code.google.com/p/phpobfuscator
0 stars 0 forks source link

Heredoc syntax parsed incorrectly and can cause the app to freeze. #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a file with Heredoc syntax.
2. Obfuscate.

What is the expected output? 
<?php echo <<<HTML 
Something...
HTML; } ?>

What do you see instead?
<?php echo <<<HTML Something... HTML; } ?>

What version of the product are you using? On what operating system?
PHP Obfuscator 0.1.0.0
Windows 7 RC7100 (x86_64)

Please provide any additional information below.
If the string includes HTML markup, the application may freeze.

Original issue reported on code.google.com by atli.jon...@gmail.com on 1 Dec 2009 at 12:02