Hacking with PHP has been updated for PHP 7 - click here! >>

Next chapter

Although we've yet to look at arrays, we need to stop the current foray into variables and instead look at functions. The reason for this is that arrays generally require functions to be of much use, so you need to understand how functions work before you try your hand at arrays. Don't worry - functions are great fun, and also very important.

 

If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: Functions >>

Previous chapter: Further reading

Jump to:

 

Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.