title: Documenting PHP Code - does it hurt performance?
body: <p>I can't believe anyone would normally object to documentation and comments, but whats the best practice (and practical) for doing so in PHP?</p>
  
  <p>In JavaScript, you can document your code and then run a minimizer to produce a production version of your code for use. What about in PHP, does the extra lines of text affect performance? Should you keep your documents in another file (which I imagine might be important for API's and frameworks but would slow down your development)?</p>
  
  <p>Edit:</p>
  
  <p>My logic was that it would necessarily take longer because the file size is longer and add more work (though possible negligible) for the parser to sort out. Say you had 1000 lines of code and 500 lines of comments, should you put a summarized version instead and then direct to actual documentation page?</p>