Busy. Please wait.

show password
Forgot Password?

Don't have an account?  Sign up 

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.

Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove ads
Don't know
remaining cards
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
restart all cards

Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

PHP Unit 3

Control structures

how long a variable is available in memory Scope
variable declared outside a function and available to all parts of your program Global variable
variable declared inside a function and available only in the function Local variable
keyword to declare a global variable Global
determining the order of statement execution Flow control
conditional code based upon the value of true or false from provided expression If
only performs action if criteria is true Single action if
performs different actions depending on if criteria is true or false Multiple action if
placing one control structure inside another Nesting
conditional code based upon the value of a variable Switch
variable that contains the value a switch uses to make a decision Case label
statements in a switch that execute if no values match the case label Default label
groups of statements executed as a single unit Functions
variable passed to a function Parameter
variable received by a function Argument
returns a value from the function to the calling statement outside the function Return statement
repeating code Loop
indefinite style loop that executes while the criteria is true While
each repetition in a loop Iteration
the variable used in the criteria for the loop Sentinel value
a variable used to count the number of times a loop executes Counter
variable used to total data each loop execution Accumulator
a loop that cannot end Infinite loop
a definite loop that repeats from a start value to an end value For
Created by: melissagoodall