title: Naming convention for initialisms and acronyms that would normally for upper case
body: <p>Does anyone know of any standards or best practices for dealing with acronyms and initialisms? (PHP and Javascript conventions would be most helpful to me but the reasoning for any language would be hepful)</p>
  
  <p>Examples:</p>
  
  <p><code>function getXML(){}</code> vs <code>function getXml(){}</code> </p>
  
  <p>or </p>
  
  <p><code>$userId</code> vs <code>$userID</code></p>