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

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

 



Thanks - now saw that on the PHP.Net documentation page relating to comments.

Think what confused me was that I'm just used to using/seeing // and /* being made use of, and found it odd that the prior developer had been using combinations of all of these.

Thanks

Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."

  ----- Original Message ----- 
  From: Derek C Hopkins 
  To: Jacob Kruger 
  Cc: php-windows@xxxxxxxxxxxxx 
  Sent: Tuesday, 24 June, 2014 3:56 PM
  Subject: Re:  ### symbol/character usage in code..?


  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