This tutorial will introduce you to PHP, a server-side scripting language you can use to make dynamic websites and web applications.
Control flow is how a program decides to perform one action instead of another. In PHP, we can use 'if' and 'else' to do this!
The switch statement lets you perform more complex control flow operations without using an endless chain of 'if's and 'else's.
Arrays are awesome, but iterating over them to use each element in the array is even more awesome. We can do that with loops!
Sometimes we don't know ahead of time how many times we'll need to loop. When that's the case, we can use a different structure: a while loop.
Functions are reusable bits of code that we can use to make our programs more efficient. PHP has over 700 built-in functions—let's learn a few of them!
PHP also allows us to define our own functions. Let's learn how!
Objects are combinations of data (variables) and actions (functions). In this course, we'll cover how PHP objects work and learn how to create our own!
PHP objects are instances of classes. In this course, we'll learn more about classes and cover advanced topics like inheritance!
In this course, we'll cover more advanced uses of the array data structure.