The PHP walkthrough in Codecademy involved a lot of hands-on exercises that started from the basic fundamentals of the language to more intricate things such as arrays and objects. The simple thing being the syntax to start php code, basic output functions (ex. echo and print), syntax principles (ending with semi-colons), and how to state variables in PHP. Further in, the tutorial covered control flow, for example if/else statements and switch statements. Towards the more complex sections, areas such as loops (for, for-each, while, do-while), classes, objects, and arrays.
Control flow are statements that basically check the data the computer is given; the primary objecitive is to check for any condition is true. For instance, checking whether 6 is greater than 7. If 6 is not greater than 7, it will return false, which means the comparison is false. Switch statements are similar but are concerned with 1 variable and different occurences of that variable. For instance, drawing a number from a box, where each number has an unique message; you switch numbers for each statement.
Classes are a collection of similar variables and functions (methods) that serve the same purpose or are related in a way. For example, a car can have variables such as color, number of doors, horsepower, etc. It can also have functions for things like to check if its running, calculating mileage, etc. From these classes, you can create objects, which are variables that are the type of the class. For example, a truck is an object that is a class car. A truck has wheels, a certain color, and other things that make it a car.
Finally, arrays are lists that contain certain variables together, for instance storing fruits in one area. They can be accessed using their index positions or relative area.