/** * 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

-3

$iValNet   = 2;	   
$aValue    = explode(',', round($iValNet * 23 / 100, 2)); 
$aValue[0] += $iValNet;       
$iValGross  = $aValue[0];
 

anonymous

+3

if( "00:00" == timeValue->toString("mm:ss"))
    emit timeIsUp(); // kabooom!!!
 

0

/// <summary>
/// We want to check if record date is proper.
/// </summary>
/// <returns>TRUE if Ok.</returns>
public bool IsRecordDateIsOk()
{
  int act, min, max;

  /* We compare only the date, not the time */

  act = System.DateTime.Now.Year * 10000 + System.DateTime.Now.Month * 100 + System.DateTime.Now.Day;
  min = this.recordDate.Year * 10000 + this.recordDate.Month * 100 + this.recordDate.Day;
  max = this.dateMax.Year * 10000 + this.dateMax.Month * 100 + this.dateMax.Day;

  if ((min <= act) && (act <= max))
  {
    return (true);
  }
  else
  {
    return (false);
  }
}
 

+13

retu(rp->p_addr);
sureg();
/*
 * (...)
 * You are not expected to understand this.
 */
if(rp->p_flag&SSWAP) {
	rp->p_flag =& ~SSWAP;
	aretu(u.u_ssav);
}
 

-6

return 1; // returns 1
 

+19

stop(); // Hammertime!
 

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

+528

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...