when to use echo php code example Example: echo php <?php $string = "Hello, World!"; echo $string; ?>