Looking an effective and quick to add a comment or a code at the beginning of files

Hi,
I’m looking for an effective and quick to add a comment or other at the beginning of each page (php file).
For example to add a comment like: "

/ * *

"
Or a short code for secure pages of people who are likely to find information, errors in the files "

 defined ('ROOT_PATH') or die ('Restricted access');

"

Do you have an idea, because this type of tool must surely exist as can be seen in most known CMS

I think you are looking for an IDE (Integrated Development Environment).

There are plenty around, try Netbeans or Eclipse or search [google]PHP IDE[/google] for recommendations.