Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98745 invoked by uid 1010); 27 May 2006 21:58:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98728 invoked from network); 27 May 2006 21:58:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 May 2006 21:58:18 -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:38180] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2C/55-17316-A7BC8744 for ; Sat, 27 May 2006 17:58:18 -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 BA26535C1DC; Sat, 27 May 2006 23:58:13 +0200 (CEST) Date: Sat, 27 May 2006 23:56:27 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <17268679.20060527235627@marcus-boerger.de> To: Jared Williams Cc: internals@lists.php.net In-Reply-To: <20060527214922.NRPG24467.aamtaout02-winn.ispmail.ntl.com@win2ks> References: <18210000279.20060527232743@marcus-boerger.de> <20060527214922.NRPG24467.aamtaout02-winn.ispmail.ntl.com@win2ks> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC array functions From: helly@php.net (Marcus Boerger) Hello Jared, UPS i see my failure in writing. I meant array_valid($array) of course :-) i have always been better in writing patches then telling tales. best regards marcus >> - bool array(array $array) >> >> cehcks whether arra position is valid (e.g. like >> "key($array) !== NULL") > How do you disambiguate between this and > $array = array('foo', 'bar'); > $anotherArray = array($array); > making array(0 => array(0 => 'foo', 1 => 'bar')) Best regards, Marcus