I think its best to avoid using the multiline version for short blocks if you can.
The reason is that they don’t nest well. So if you use, “/asterisk A comment asterisk/”
in a
function and latter comment out the function with “/asterisk asterisk/”. You wont get what you want.
For example:
I have a question, how about these lines <!-- Start --> , <!-- End -->
can I use this kind on annotation in php files or this actually is considered a php command line? Thanks,
Have you tried the other type of comments? you use the # sign and they work like // comments.
# like this
Can you help me with a small text based counter script ? It says something like permission error.
I think its best to avoid using the multiline version for short blocks if you can.
The reason is that they don’t nest well. So if you use, “/asterisk A comment asterisk/”
in a
function and latter comment out the function with “/asterisk asterisk/”. You wont get what you want.
For example:
/*
function test()
{
/*This is a comment */
}
*/
We can also use hashes (#) for comment
Eg:
I have a question, how about these lines
<!-- Start -->
,<!-- End -->
can I use this kind on annotation in
php
files or this actually is considered aphp
command line? Thanks,,
Thats only for Html Files ;)
nice
aaaaa