Computer Science, asked by geetanarang3140, 1 year ago

Explain variable in php and how to declare variable

Answers

Answered by choudhary21
2
In PHP, a variable does not need to be declared before adding a value to it. PHP automatically converts the variable to the correct data type, depending on its value.

After declaring a variable it can be reused throughout the code.

The assignment operator ( = ) used to assign value to a variable.

Similar questions