Variable Scope

Variable Scope

Kyle B. Johnson

July 23, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

18 slides
  1. Global Scope The Global Scope is the main context of

    an Application. Variables in the Global Scope of a PHP application are accessible anywhere after the variable has been declared.
  2. Functions Functions are blocks of code which can be used

    more than once within an application.
  3. Functions Functions create a relationship between Input and Output. In

    PHP, a function’s input is called the Argument list and the output is called the Return statement.
  4. Application Input Output Class $args $return Method $args Class $args

    $return Method $args Class $args $return Method $args Class $args $return Method $args

More Decks by Kyle B. Johnson

Other Decks in Programming