php assign variable to the string code example Example: php variables <?php $string = 'string'; $number = 1; ?>