Variables in PHP are defined very simply. It is not necessary to define the types of variables.

all that you need write next



Here we define a variable like 4



Now like string.

To show this variable you can write this lines