php print with variable code example Example: echo php <?php $string = "Hello, World!"; echo $string; ?>