PHP Simple QA
It contains Simple Questions and Answers in PHP
simple meaning of unset in php
Unset is used for destroys the specified variables.
example:
<?php
function destroy()
{
global $test;
unset($test);
}
$test = 'hai';
destroy();
echo $test ;
?>
it will get output :hai
Newer Post
Older Post
Home