Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23726 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87198 invoked by uid 1010); 27 May 2006 21:29:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87183 invoked from network); 27 May 2006 21:29:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 May 2006 21:29:35 -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:38131] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 13/F3-17316-EB4C8744 for ; Sat, 27 May 2006 17:29:34 -0400 Received: from baumbart.mbo (dslb-084-063-013-138.pools.arcor-ip.net [84.63.13.138]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 99B2335C1DC for ; Sat, 27 May 2006 23:29:30 +0200 (CEST) Date: Sat, 27 May 2006 23:27:43 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <18210000279.20060527232743@marcus-boerger.de> To: internals@lists.php.net 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, 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