text var in php code example Example: PHP Variables <?php $txt = "Hello world!"; $x = 5; $y = 10.5; ?>