Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10578 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22611 invoked by uid 1010); 17 Jun 2004 22:59:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22565 invoked from network); 17 Jun 2004 22:59:13 -0000 Received: from unknown (HELO mail.zend.com) (80.74.107.235) by pb1.pair.com with SMTP; 17 Jun 2004 22:59:13 -0000 Received: (qmail 12505 invoked from network); 17 Jun 2004 22:59:07 -0000 Received: from localhost (HELO AndiNotebook.zend.com) (127.0.0.1) by localhost with SMTP; 17 Jun 2004 22:59:07 -0000 Message-ID: <5.1.0.14.2.20040618005127.0349bfd0@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 18 Jun 2004 00:51:53 +0200 To: Jason Garber ,internals@lists.php.net In-Reply-To: <5.1.0.14.0.20040617040132.01df4de8@mail.ionzoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Array Question From: andi@zend.com (Andi Gutmans) References: <5.1.0.14.0.20040617040132.01df4de8@mail.ionzoft.com> This is a supported feature as it especially helps with machine generated arrays. If it's not documented it should be. Andi At 04:03 AM 6/17/2004 -0400, 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? > >Thanks, >Jason Garber > > >__________________________________________________________ >Jason Garber >President & Chief Technology Officer >IonZoft, Inc. >814.742.8030 :: jason@ionzoft.com :: http://IonZoft.com >__________________________________________________________ > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php