Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 4. Arrays > Deleting Elements from an Array

Recipe 4.5. Deleting Elements from an Array

4.5.1. Problem

You want to remove one or more elements from an array.

4.5.2. Solution

To delete one element, use unset(  ):


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial