Learn PHP: Functions
Why Learn PHP: Functions?
Continue your PHP learning journey! Learn how to use built-in PHP functions to complete common (and some niche) tasks and create your own functions to reuse blocks of code.
By the end of this course, you will be able to:
- Reuse blocks of code by defining and using functions.
- Use, find, and understand built-in PHP functions.
Notes on Prerequisites
We recommend that you complete Learn PHP: Introduction before completing this course.
Codecademy courses have been taken by employees at
Mad Lib Functions
It’s time for you to start building your own functions in PHP. Creating reusable blocks of code is an extremely useful skill in any language. Get started practicing in PHP with this mad lib project!
The Hitchhiker's Guide to PHP Math Functions
Explore the universe of PHP documentation and find the PHP functions you need for your journey. Applying them correctly will yield the answer to life, the universe, and everything.
— Madelyn, Pinterest
I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.
Learn how to use built-in PHP functions to complete common (and some niche) tasks and create your own functions to reuse blocks of code.
DetailsEarn a certificate of completion
3 hours to complete in total