Search DaTutorials:  
HOME
Php Tutorials
Articles
Basics
Date and Time
File Manipulations
Forms
Functions
General
Interactivity
MySql
Navigation
News,Shoutboxes and Blogs
Language Structure and Data Types
Searching
Security
String Manipulation
User Information and Stats
Search For a Tutorial
Php Reference

Unsetting References

When you unset the reference, you just break the binding between variable name and variable content. This does not mean that variable content will be destroyed. For example:

<?php
$a
= 1;
$b =& $a;
unset (
$a);
?>

won't unset $b, just $a.

Again, it might be useful to think about this as analogous to Unix unlink call.



Copyright © 2001-2004 The PHP Group
All rights reserved.

     Credit Cards | Xbox Mod Chip | Fast Loans | Credit Card | Secured Loans
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp