php tags are not working/ string not displaying
===

I am trying to program in PHP, but php tags are not working:
and i believe there's no error in my code below: 

     <html>
     <head>

     <?php 
      $test = "Gumagana ako :P";

      echo "$test";

     ?>

     <title>My First PHP</title>

      </head>

      <body>


      My Test String is <?php echo $test; ">


      </body>
      </html>

What do you think is the problem? FYI, I'm using xampp.