Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10562 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71595 invoked by uid 1010); 17 Jun 2004 08:33:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70537 invoked from network); 17 Jun 2004 08:33:42 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 17 Jun 2004 08:33:42 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.10/8.12.10) with ESMTP id i5H8Xdxr002301; Thu, 17 Jun 2004 10:33:39 +0200 Date: Thu, 17 Jun 2004 10:33:39 +0200 (CEST) X-X-Sender: derick@localhost To: Jason Garber cc: internals@lists.php.net In-Reply-To: <5.1.0.14.0.20040617040132.01df4de8@mail.ionzoft.com> Message-ID: References: <5.1.0.14.0.20040617040132.01df4de8@mail.ionzoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Array Question From: derick@php.net (Derick Rethans) On Thu, 17 Jun 2004, Jason Garber wrote: > Hello, > > In PHP4 and PHP5 the following syntax works fine (note the last comma): > > array > ( > 1 => 'bob', > 2 => 'sam', > ); > > > Is being able to have a comma at the END of an array definition a supported > feature, or an undocumented feature that should not be used? It's an undocumented feature AFAIK. Derick