A example script called “hello.php”:
[embed=425,349]<?php
// Hello
echo “Hello World”;
?>[/embed]
Under linux, we can execute:
[embed=425,349]php -s hello.php > hello.php
[/embed]
and we can see the next:
[embed=425,349]…
[/embed]
How can i obtain the source as the original script, with the comments included, without the HTML added by PHP-CLI?, i have seen the parameter “-w”, but the comments and whitespaces are stripped.
Thank you!