Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23784 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10273 invoked by uid 1010); 30 May 2006 19:12:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10257 invoked from network); 30 May 2006 19:12:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 May 2006 19:12:59 -0000 X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:47004] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1B/C4-07504-A399C744 for ; Tue, 30 May 2006 15:12:58 -0400 Received: from baumbart.mbo (dslb-084-063-066-070.pools.arcor-ip.net [84.63.66.70]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id D304635C1EB for ; Tue, 30 May 2006 21:12:54 +0200 (CEST) Date: Tue, 30 May 2006 21:15:02 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1912400098.20060530211502@marcus-boerger.de> To: internals@lists.php.net In-Reply-To: <18210000279.20060527232743@marcus-boerger.de> References: <18210000279.20060527232743@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: RFC array functions From: helly@php.net (Marcus Boerger) 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