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

-2

// fun starts here
#define true (rand() <10)
 

anonymous

+23

if ($x == 10) {
 // CODE
}
else if ($x != 10) {
 // MORE CODE
}
else {
 // MORE CODE, AGAIN
}

// Thanks, phpclasses.net...
 

+8

public boolean isNegative(int i) {
    String s = Integer.parseInt(i);
    return s.startsWith("-");
}
 

+59

// I am not sure if we need this, but too scared to delete.
 

+70

int length = 0;
for(int idx = 0; idx < a.length; i++) {
     length++;
}
System.out.println("length is : " + length);
 

+7

switch(page) {
		case 0:
			showCurrentCar(page);
			hidePreviousCar(currentModel);
			currentModel = page;
			break;
		case 1:
			showCurrentCar(page);
			hidePreviousCar(currentModel);
			currentModel = page;
			break;
		case 2:
			showCurrentCar(page);
			hidePreviousCar(currentModel);
			currentModel = page;
			break;
		case 3:
			showCurrentCar(page);
			hidePreviousCar(currentModel);
			currentModel = page;
			break;
}
 

anonymous

+16

... ? true : false
 

+6

if [ `which which` ]; then
  ...
else
  ...
fi
 

anonymous

+13

// Do you know how expensive a function call is?
const int sizeof_int = sizeof( int );
 

+62

return 2; // returns 2