PHP Variables Variables maintain values and state across functions and the PHP program itself. This article explores variables from simple to the complex PHP variable variable.