title: php umask(0) what is the purpose
body: <p>What is the purpose of using <code>umask(0);</code> in php?</p>
  
  <p>I have seen this a few times, and cant figure out from the documentation what it precisely does.</p>
  
  <p>Can someone explain this and when it would be useful to use?</p>