Hello! I have a project i'm working on that i have failed to include comments at the top of all of my php files *rolleyes*
anyway, I need to create a script that reads all php files in a certain directory and recurses directories; and simply write a comment lets say in the form of /* my comment */ at the first line. obviously i would rather not have the entire comment on one line. rather i would like to have the comment taking up lets say, the first 100 characters per line then go to the next..like:
/* my comment that starts here
* the rest of my comment
i know this may sound trivial and it was my mistake in forgetting to do this but i'm lazy and there are too many files to edit :)
anyone have a solution for this?
thank you very much in advance!