Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47373 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56840 invoked from network); 17 Mar 2010 16:37:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Mar 2010 16:37:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=felix.devliegher@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=felix.devliegher@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: felix.devliegher@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:54394] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/2A-05162-E4501AB4 for ; Wed, 17 Mar 2010 11:37:36 -0500 Received: by wyb36 with SMTP id 36so632869wyb.29 for ; Wed, 17 Mar 2010 09:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=8vILzzRAKu9khZAUJuE22s99/W8o3yhobm7p9opmdmA=; b=U2UdTBPcPZKEZsXMk8UI76cThSky1zcFvalIvg5wcqdgV9SFE4XfF3uOOK3pydVFTo nhrj3rz1D1ZKAsisr7PaMuRN0oYiS4/JggUgfuBBGlPDNLznefhgtRg2YIhgnCYTi8Vk S6r2Lr0HxFpRfSsDRXSQ3kZvYnpVTbx0BxF5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=AUJarLlqIDHcf3SVG91e/neA4GFGkhXjBEk3nhnXuSQccqbntp2l8WiDVbl7JM8FH3 kkFydKWfwP5YNR8Zjx7mUa4GugEfCOM+yJoc9y/DXAiUWo5xx/xn/8BpIocTF9Polns1 7hmhpqFbbfjezrCaEoiEyGDD7ApUjo0BPp9jY= Received: by 10.216.90.211 with SMTP id e61mr585556wef.15.1268843851594; Wed, 17 Mar 2010 09:37:31 -0700 (PDT) Received: from [192.168.2.10] (94-225-45-193.access.telenet.be [94.225.45.193]) by mx.google.com with ESMTPS id g11sm1426544gve.18.2010.03.17.09.37.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 09:37:30 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4BA102F2.1000405@mageekbox.net> Date: Wed, 17 Mar 2010 17:37:28 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <62279C8B-4E50-47DE-B682-EE8152084433@gmail.com> References: <6E76B52E-7543-4F09-A948-A7910513B548@gmail.com> <4BA102F2.1000405@mageekbox.net> To: Frederic Hardy X-Mailer: Apple Mail (2.1077) Subject: Re: [PHP-DEV] array_seek function From: felix.devliegher@gmail.com (Felix De Vliegher) On 17-mrt-2010, at 17:27, Frederic Hardy wrote: >=20 > Hello Felix ! >=20 > Why not use arrayIterator::seek() ? >=20 > Best regards, > Fred Because the functionality isn't exactly the same. ArrayIterator::seek() = only sets the array pointer, array_seek would also return the value + = have fseek()-like functionality with the SEEK_* consts and optional = negative offsets. Felix=