Here are the most important things to know about variables in PHP
✦ All variables in PHP are denoted with a leading dollar sign ($).
✦ The value of a variable is the value of its most recent assignment.
✦ Variables are assigned with the = operator, with the variable on the left-hand side and the expression to be evaluated on the right.
✦ Variables can, but do not need, to be declared before assignment.
✦ Variables have no intrinsic type other than the type of their current value.
✦ Variables used before they are assigned have default values.

Post By Gishore J Kallarackal (2,121 Posts)

Gishore J Kallarackal is the founder of techgurulive. The purpose of this site is to share information about free resources that techies can use for reference. You can follow me on the social web, subscribe to the RSS Feed or sign up for the email newsletter for your daily dose of tech tips & tutorials. You can content me via @twitter or e-mail.

Website: → Techgurulive