una domanda, con il seguente codice mi dice errore alla riga 9 però il tutto funziona ugualmente, vorrei però capire perchè!

Il codice e' questo :

codice:
<html> 
<head> 
<title>prova</title> 
</head> 
<body>  
<?php     

$variabile = $_GET['test'];     

echo '<form action="" method="get">'; 
echo '<input type="text" name="test" />';  
echo '<input type="submit" value="Invia dati" />';  
echo '</form>';    
echo '


<center><h1>';  

echo $variabile;   

 ?>   
</body> 
</html>