About This Episode

Think of a function as a container for reusable pieces of logic. In this lesson, you'll create your very first function.

Homework: Write a function that determines if a provided age (sent through as an argument) is old enough to enter a 21-and-up night club. Have this function return a boolean, which can be used in any conditional.

Published on Jul 7th, 2016.

Episodes

    1. Step 1: Get PHP Installed

      EPISODE 1 3:51 Free
    2. Step 3: Variables

      EPISODE 3 7:37 Free
    3. Step 4: PHP and HTML

      EPISODE 4 12:38 Free
    4. Step 6: Understanding Arrays

      EPISODE 6 7:44 Free
    5. Step 7: Associative Arrays

      EPISODE 7 12:04 Free
    6. Step 8: Booleans

      EPISODE 8 10:44 Free
    7. Step 9: Conditionals

      EPISODE 9 6:58 Free
    8. Step 10: Functions

      EPISODE 10 7:49 Free
    9. MySQL 101

      EPISODE 11 16:18 Free
    10. Classes 101

      EPISODE 12 16:10 Free
    11. Intro to PDO

      EPISODE 13 15:16 Free
    12. Hide Your Secret Passwords

      EPISODE 15 6:27 Free
    13. Make a Router

      EPISODE 16 24:19 Free
    14. Dry Up Your Views

      EPISODE 17 7:02 Free
    15. Array Filtering

      EPISODE 18 13:31 Free
    16. Dynamic Inserts With PDO

      EPISODE 20 12:24 Free
    17. Composer Autoloading

      EPISODE 21 4:38 Free
    18. Your First DI Container

      EPISODE 22 7:04 Free
    19. Switch to Namespaces

      EPISODE 24 14:52 Free
Back to Series Button