PHP Coding Standards question!

Discussion in 'PHP' started by imphpguru, Oct 21, 2008.

  1. #1
    Hi,

    Mods, I am really sorry that I may look like I am doing some of my self promotion! But this is really important to me. I AM NOT doing promotion of any sorts people! This is a genuine question. So mods please dont screw my ass for this!

    Okay PHP developers! I have been studying pear standards recently. I just wrote something on my blog about a question that has come to my mind. I have been researching a bit on the internet, but I couldnt find an answer to this question. Please read my blog entry http://loveofphp.com/php/wondering-about-pear-standards.html, and tell me what do you think! All reviews appreciated.

    Thanks

    imphpguru

    PS.. Mods... again.. this isnt a promotional scheme for me :). I havent even had my signature links... So not here to promote myself. This is serious discussion :). Thanks for understanding.
     
    imphpguru, Oct 21, 2008 IP
  2. Kyosys

    Kyosys Peon

    Messages:
    226
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes it is.
     
    Kyosys, Oct 21, 2008 IP
  3. imphpguru

    imphpguru Active Member

    Messages:
    439
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    You think this question was put here for self promotion:eek:?? Man... please... I really dont need a promotion for me. Just need an answer as of now!!
     
    imphpguru, Oct 21, 2008 IP
  4. Shoro

    Shoro Peon

    Messages:
    143
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The filesize of your script doesn't reflect the amount of memory that's used, because the script compiles the same regardless of whether you use spaces, tabs, or nothing, and it's the compiled script that's run, not the script file itself.
     
    Shoro, Oct 21, 2008 IP
  5. Kyosys

    Kyosys Peon

    Messages:
    226
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    if it wasn't put here for self promotion, why didn't you just paste what it said?
     
    Kyosys, Oct 21, 2008 IP
  6. imphpguru

    imphpguru Active Member

    Messages:
    439
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #6
    Coz, then it creates duplicate content on the web, and google can screw me up for dat ;)
     
    imphpguru, Oct 21, 2008 IP
  7. Kyosys

    Kyosys Peon

    Messages:
    226
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Meh, fair enough.

    Well, I think your article is ridiculous. It's whitespaces, how long do you think PHP needs to find out that it has to ignore them?

    I'm all for optimization, but this is just ridiculous
     
    Kyosys, Oct 22, 2008 IP
  8. BlueToaster

    BlueToaster Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #8
    Yeah, this is clearly going down the wrong road, but it's great that you're trying to think laterally. Contemplation like this is an essential part of moving forward with your knowledge of the language.

    Plus which, as a direct result of posting this you're now much wiser!
     
    BlueToaster, Oct 22, 2008 IP
  9. Kyosys

    Kyosys Peon

    Messages:
    226
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #9
    As a side effect, however, 3 people are now less wise
     
    Kyosys, Oct 22, 2008 IP
  10. imphpguru

    imphpguru Active Member

    Messages:
    439
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #10
    Hi,
    I agree and apologize for my post! Sorry Guys!!
     
    imphpguru, Oct 23, 2008 IP