Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62301 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67107 invoked from network); 20 Aug 2012 18:08:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Aug 2012 18:08:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-lpp01m010-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:55547] helo=mail-lpp01m010-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/83-07742-73D72305 for ; Mon, 20 Aug 2012 14:08:56 -0400 Received: by lahl5 with SMTP id l5so3511980lah.29 for ; Mon, 20 Aug 2012 11:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W5YKr4PScUeVsDNVodxpv5EjIg8EbLwVM/WHGlXK3n0=; b=EORj09kR2TaN/M+x+ZJTicZtAYI+wAiq8rju+TfmLHAA1MbTQk7V7K280+8xKoDsjI l9XgvuYA6bi6CoWcZ+c9+65bDwvqIliCI7SFWvNxL7491y1nz8FklHkWfZBBP39SE8Ke Z7bZc6g7BB+AqNKSQEMCG2djhg3gpKbvbzCHDWU0ZG141k7niiotwL43bGPyS8w6sBkA OofZYb9bdhhKEQXEe+DvZaqHiOPtDADfPe9jWU7gITgjIZkA0EpWKWnErWjRZUMYMyrH /kHSFwlEpC1fC+GCp+BHY/PKoGIqgincdofoGfYKAz2cu6rXeIE+F0bNlrvFTqsDeTMt 0Dgg== MIME-Version: 1.0 Received: by 10.112.103.68 with SMTP id fu4mr6534206lbb.56.1345486132653; Mon, 20 Aug 2012 11:08:52 -0700 (PDT) Received: by 10.112.89.174 with HTTP; Mon, 20 Aug 2012 11:08:52 -0700 (PDT) In-Reply-To: References: <502EB667.1020602@lerdorf.com> <50326D11.4090101@ajf.me> Date: Mon, 20 Aug 2012 12:08:52 -0600 Message-ID: To: Andrew Faulds Cc: Herman Radtke , Yasuo Ohgaki , Etienne Kneuss , Rasmus Lerdorf , Rasmus Schultz , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] re: removing an item from an array From: morrison.levi@gmail.com (Levi Morrison) Also, `array_splice` will remove the index while modifying the array in-place.