Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23727 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88672 invoked by uid 1010); 27 May 2006 21:32:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88657 invoked from network); 27 May 2006 21:32:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 May 2006 21:32:08 -0000 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.175 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.175:58839] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1B/24-17316-755C8744 for ; Sat, 27 May 2006 17:32:07 -0400 Received: by ug-out-1314.google.com with SMTP id m2so617450ugc for ; Sat, 27 May 2006 14:32:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k6VUe4UJq0+2jDiR6bo/Yir1GabTiD6lfQzHLI6DEh+vvAIjQg23QskOSGupT6JaNeU4SVyKpgPXCjBhSEM/JW1BAmc7N41YQcPApViJswHePIdsCyJ4hI5B4xOzUM9yntDOtsLhV46QRyzIWaiHc7CMXlcg6AlKldryLq2UaX4= Received: by 10.67.124.1 with SMTP id b1mr626391ugn; Sat, 27 May 2006 14:32:03 -0700 (PDT) Received: by 10.66.220.11 with HTTP; Sat, 27 May 2006 14:32:03 -0700 (PDT) Message-ID: Date: Sat, 27 May 2006 23:32:03 +0200 To: "Marcus Boerger" Cc: internals@lists.php.net In-Reply-To: <18210000279.20060527232743@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <18210000279.20060527232743@marcus-boerger.de> Subject: Re: [PHP-DEV] RFC array functions From: pierre.php@gmail.com (Pierre) On 5/27/06, Marcus Boerger wrote: > Hello internals, > > i'd like to add two array functions: > > - bool array_has_more(array $array) > > checks whether $array has more elements after current position or > if array is at last position, preferable working inside foreach a big +1 :) > - bool array(array $array) > > cehcks whether arra position is valid (e.g. like "key($array) !=3D=3D N= ULL") I don't understand this one. --Pierre