PHP Day 4: Functions

This seven-minute video covers the basics of making functions, using functions, returning values, and reading function prototypes.

Links for PHP Day 4: Functions

Making functions:

  • PHP Functions - An overview of creating your own functions, much more simple (in other words, less frightening) than the PHP manual.
  • PHP: Functions - More advanced explanations and details from the PHP manual.
  • Note: I forgot to mention that the naming rules for functions are the same as for variables.

Returning values:

Function reference:

Reading function prototypes:

Sorry if there’s a bit too much information here, but there’s a lot to cover! Please let me know if you think this is too much (or too little). Personally, I was a bit overwhelmed at first (especially after relaxing all weekend), but then things came together and it all made sense.

Posted on February 5th, 2007 | Leave a comment | Trackback URL

3 Comments

  1. Mark

    April 17th, 2007

    Thank You

  2. Jess

    June 23rd, 2008

    Hi Liz!

    In searching for PHP video tutorials, I came across your blog. Thank you for the pleasant introduction to this useful programming language!

    P.S. I live in Austin, TX (in case you were wondering)

  3. Ultra Lean Green

    July 31st, 2008

    function, parameter operator, array, So many definitions.

Share Your Thoughts