Analise o código a seguir.
<form action="teste.php" method="post">
<p>Nome: <input type="text" name="nome" /></p>
<p>Idade: <input type="text" name="idade" /></p>
<p><input type="submit" /></p>
</form>
Assinale o conteúdo adequado para o arquivo teste.php.
$_POST:Oi<?php echo htmlspecialchars(['nome']); ?>.
Tu tens <?php put (int)['idade']; ?> anos.
Oi <? echo htmlspecialchars($_GET['nome']); /?>.
Tu tens <? echo (int)$_GET['idade']; /?> anos.
Oi <?php echo htmlspecialchars($_GET['nome']); ?>.
Tu tens <?php print (int)$_GET['idade']; ?> anos.
Oi <?php echo htmlspecialchars($_POST['nome']); ?>.
Tu tens <?php echo (int)$_POST['idade']; ?> anos.
Oi <?php echo htmlspecialchars($_POST['nome']); ?>.
Tu tens <?php print (int)$_POST['idade']; /?> anos.