/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

+4

// on the webservice client
Hashtable params = new Hashtable
{
   "IsActive", true.ToString();
   ...
};
service.someMethod(params);

//  on the webservice
if (hs["IsActive"].ToString().ToLower().Equals("true"))
{
   ...
}
 

anonymous

+525

long long time; //ago in a galaxy far away...
 

anonymous

+5

final static int MAGIC_NUMBER = 123553;
 

+33

Exception up = new Exception();
throw up; // ha, ha...
 

anonymous

+1

$string = preg_replace('/.*([0-9\s<>\\b]*(\–.|\-.)[\s<>b0-9]*)|(class=\'b\'>[0-9]*<\/span>)*/', '', $string); 
$string = preg_replace('/[^0-9]/', '', $string);
 

anonymous

-1

${param.autostart eq 'false' ? 'false' : 'true'}
 

anonymous

0

<?php
$a=1;$b=0;
if(!$a<$b) echo 'yes'; 
?>
 

+5

if (q.exec('SELECT * FROM admins WHERE username LIKE :username AND password LIKE :password', user, pass).num() > 0) {
 ... giving admin privileges ...
 

+11

Pager::~Pager()
{    
	data = NULL;
	delete [] data;
};
 

+9

for ( j=0; j<array_len; j+ =8 ) { 
  total += array[j+0]; 
  total += array[j+1]; 
  total += array[j+2]; /* Main body of 
  total += array[j+3]; * loop is unrolled 
  total += array[j+4]; * for greater speed. 
  total += array[j+5]; */ 
  total += array[j+6]; 
  total += array[j+7]; 
}