Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
<?php
$name='Rahul Upmanyu';
$country='INDIA';
$age=21;
echo "I am {$name} and I live in {$country} and I am {$age}";
?>
</body>
</html>
</pre>
<h2>Output of above program"</h2>
<title>Destroying Variables</title>
</head>
<body>
<?php
$name='Anjali'; // Asign Value to variable
echo "Name Before Destroying variable: $name"; // Print variable
value
unset($name);
echo "Name after Destroying variable: $name"; //this will
generate an 'undefined variable' error
?>
</body>
</html>
</pre>