Question:-
What does the unset() function means?
Answer:-
<?php
$xyz='www.studydunes.com';
echo 'Before using unset() the value of $xys is : '. $xyz.'<br>';
unset($xyz);
echo 'After using unset() the value of $xys is : '. $xyz;
?>
Copy
Output :
Before using unset() the value of $xys is : www.studydunes.com After using unset() the value of $xys is :
The unset() function is dedicated for variable management. It will make a variable undefined.

Anil Bist
Skills Php
Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,Location :-Dehradun,Dehradun,Uttarakhand,
Description:-
I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a
Explore
Students (5)
Ask


shubham
Ask


Monika
Ask


Anamika
Ask


Riya
Ask


Pooja
Recommended Classes

Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional

Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional

Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional