<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
According to this: <a class="moz-txt-link-freetext" href="http://drupal.org/node/121388">http://drupal.org/node/121388</a> lowercase is faster,
but we should make a decision, and document it in the coding standard. <br>
<br>
I just find it confusing for our entry to mid-level developers to have
the coder module saying one thing and the code everywhere saying
something else...<br>
<br>
I was correcting them about using lowercase instead of uppercase when I
found out the coder module was telling them something else entirely.<br>
<br>
David Strauss wrote:
<blockquote cite="mid:46D31453.7060100@fourkitchens.com" type="cite">
  <pre wrap="">I personally prefer uppercase because it's more consistent with other
constants. What source says lowercase is faster?

Steve Rude wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">So I was trying to research a coding standard that I don't see
documented anywhere.
What is the standard about NULL, TRUE and FALSE.  According to the coder
module it says to use lowercase because it is faster, but throughout
core there is uppercase.


e.g. in the system.module (not to mention the trailing comma is missing...)

/**
* Implementation of hook_menu().
*/
function system_menu($may_cache) {
 $items = array();

 if ($may_cache) {
   $items[] = array('path' =&gt; 'system/files', 'title' =&gt; t('File
download'),
     'callback' =&gt; 'file_download',
     'access' =&gt; TRUE,
     'type' =&gt; MENU_CALLBACK);

I know this is a very minor point, but we are trying to match our
internal coding standards with that of Drupal.

Thanks!

Steve Rude
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Steve Rude
+ Lead Developer</font><br>
<b><font color="#ff3300" face="Verdana, Arial, Helvetica, sans-serif"
 size="2">Achieve<font color="#666666">Internet</font></font></b><a><br>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">(800)
618-877 x 202</font><br>
<br>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">http://www.achieveinternet.com</font></a></div>
</body>
</html>