Concept
What does unset($arr) do to an array?
ComputerScienceOne / Using Arrays in Functions
"unset($arr); destroys the entire array. It does not merely empty the array, but it unsets the variable $arr itself."
Related Ideas
- How does unset() remove elements from a PHP array?ComputerScienceOne · Removing Elements
- How do you deallocate dynamically allocated arrays?ComputerScienceOne · Using Arrays with Functions
- How can you iterate over indexed and associative arrays in PHP?ComputerScienceOne · Iteration
- How are elements added to the next available integer index in a PHP array?ComputerScienceOne · Removing Elements
- How do you create and index arrays in PHP?ComputerScienceOne · Creating Arrays
- How can you count the elements in a PHP array?ComputerScienceOne · Useful Functions
- How can you print the contents of a PHP array in a readable format?ComputerScienceOne · Useful Functions
- How can you add elements to an array?ComputerScienceOne · Adding Elements