Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29490 invoked by uid 1010); 30 May 2006 19:58:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29475 invoked from network); 30 May 2006 19:58:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 May 2006 19:58:36 -0000 X-PHP-List-Original-Sender: irokez@gmail.com X-Host-Fingerprint: 66.249.82.193 wx-out-0102.google.com Linux 2.4/2.6 Received: from ([66.249.82.193:58761] helo=wx-out-0102.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id EF/57-07504-CE3AC744 for ; Tue, 30 May 2006 15:58:36 -0400 Received: by wx-out-0102.google.com with SMTP id t12so293439wxc for ; Tue, 30 May 2006 12:58:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=enX+q4f1Aml0GGwCcgyY4dah1xuzWAanvSNaGmlu0GAo2t1EF7unn1T+Jn+j8wGX4tb7+asO8xqQBxuj+ZVkgJVjTwidzWOJagk9yKrKaUerwqvQpLR2NvMx19u1+HQd04rrD4QvvlEXv/s3gibLolTF/9sXXc7aqZ1mbmcuA8U= Received: by 10.70.71.18 with SMTP id t18mr3957250wxa; Tue, 30 May 2006 12:58:34 -0700 (PDT) Received: by 10.70.76.1 with HTTP; Tue, 30 May 2006 12:58:34 -0700 (PDT) Message-ID: Date: Wed, 31 May 2006 00:58:34 +0500 To: internals@lists.php.net In-Reply-To: <1912400098.20060530211502@marcus-boerger.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11031_7932225.1149019114304" References: <18210000279.20060527232743@marcus-boerger.de> <1912400098.20060530211502@marcus-boerger.de> Subject: Re: [PHP-DEV] RFC array functions From: irokez@gmail.com ("Alexander Pak") ------=_Part_11031_7932225.1149019114304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline As for me I don't really like "array_has_more" name.. maybe array_end? On 5/31/06, Marcus Boerger wrote: > > Hello internals, > > just as a reminder for those that insist on being heared - you have been > heared. Here is your second try. I am not going to wait till the dawn of > time. > > best regards > marcus > > Saturday, May 27, 2006, 11:27:43 PM, you 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 > > > - bool array(array $array) > > > cehcks whether arra position is valid (e.g. like "key($array) !== > NULL") > > > Any comments? > > > Best regards, > > Marcus > > > > > Best regards, > Marcus > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- regards, Alexander Pak ------=_Part_11031_7932225.1149019114304--