variable declaration with value in php code example Example: how to make a variable in php $varName = "Hello, World";