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.

 

Want to learn PHP 7?

Hacking with PHP has been fully updated for PHP 7, and is now available as a downloadable PDF. Get over 1200 pages of hands-on PHP learning today!

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.