Create a dynamic website with PHP
Difficulty: Beginner ● Progress: 0 / 0 modules completed
NULL

Let's now tackle the last of our basic data types, and not the least of them!
It's always good to remember that it is recommended to initialize a variable when it is declared: this avoids errors or unexpected results due to the fact that a random value has been assigned to the variable by the computer's memory.
But here's the problem: what should you do if a variable must be declared, but its value is not yet known by the program?
This happens in particular when the value is provided by the user!
You need a free account to read this module