Re: ### symbol/character usage in code..?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

In PHP the # is a comment for everything on the line following the # so as all these lines start with a # the rest of the lines are all comments

Cheers Derek

At 6/24/2014 06:04 AM, Jacob Kruger wrote:
Know this doesn't have too much to do with windows specific usage, but am
working on/via windows installation of XAMPP myself, and am just wondering
why in some new code am busy reviewing, they seem to be using sort of
comment blocks inside code sort of like the following bit of text:
###start something
# blah
###end of whatever

Now, yes, in python, the # symbol is the comment character, but, can't
imagine what this is doing in PHP, and, part of my reason for asking this
question here is that google searches relating to the # character, or even
searches in something like an offline .chm file are impossible, due to
it's common usage in HTML, etc...<smile>

Stay well

Jacob

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Cheers Derek

Derek C Hopkins,                     Phone    +1(450)678-7768
6640, Biarritz,                          Fax      +1(450)678-4252
Brossard,                                E-Mail   derek.hopkins@xxxxxxxxxxxx
QC,  Canada,  J4Z-2A2.

==== FreeBMD - England and Wales - Birth - Marriage and Death Transcriptions
<http://FreeBMD.rootsweb.com>

==== Check out FreeBMD Scan2 Syndicate page (revised daily)
Please bookmark our new home http://www.scan2.ca/scan2.html

Check out Abney Park Indexing Project (revised 14 MAR 2008, 195,000 names)
<http://scan2.ca/nlisa
.html>

Check out the Quebec Family History web page
<http://www.qfhs.ca/index.html>  

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux