Hi,
i wanna remove all comments form a php file,
somebody knows a thread here that is about that topic, i couldnt find one.
but im shure i saw once one with this kinda topic.
greez Pozor
Comments remove
Moderator: General Moderators
- Buddha443556
- Forum Regular
- Posts: 873
- Joined: Fri Mar 19, 2004 1:51 pm
You could run the files through php using the -w flag that will strip comments and whitespace.
Code: Select all
php -w script.php > clean.php