Working with unset() function in PHP

Filed in php-lesson1(variables) 0 comments

if you are in a state to restore a variable to its unassigned state you can use unset() Function
Example:

unset($assigned_var)

this will make the $assigned_var variabel to the default value of which type it can hold no matter what assignement it has met so far.

this function will get a variable as an argument and make the variable to default state and return nothing

Related posts:

  1. testing if a variable is assigned in PHP with isset() function
  2. Reassigning Variables in PHP
  3. Assigning Variables in PHP
  4. PHP Variables Basic
Posted by voshka   @   4 March 2010 0 comments

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Previous Post
«
Next Post
»
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone