Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28731 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91257 invoked by uid 1010); 11 Apr 2007 14:01:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 91223 invoked from network); 11 Apr 2007 14:01:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2007 14:01:26 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:40663] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/30-18117-40AEC164 for ; Wed, 11 Apr 2007 10:00:38 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 2F2FAA58102; Wed, 11 Apr 2007 16:00:33 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22688-08; Wed, 11 Apr 2007 16:00:26 +0200 (CEST) Received: from [127.0.0.1] (234.24.3.213.fix.bluewin.ch [213.3.24.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id 0E2D3A580FE; Wed, 11 Apr 2007 16:00:22 +0200 (CEST) Message-ID: <461CE9FD.4070108@pooteeweet.org> Date: Wed, 11 Apr 2007 16:00:29 +0200 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Ron Korving Cc: internals@lists.php.net References: <4E.0E.22806.CA5DC164@pb1.pair.com> In-Reply-To: <4E.0E.22806.CA5DC164@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] is this a bug in SoapServer? From: mls@pooteeweet.org (Lukas Kahwe Smith) Ron Korving wrote: > Hi, > > returning array('5' => 'Foo', '10' => 'Bar') from a SoapServer handler class > ends up as array(0 => 'Foo', 1 => 'Bar') at the client end. I can hardly > imagine this being a feature, but maybe someone can tell me if this is > somehow wanted or inevitable behavior. I assume its because there is no such thing as an associative array, so the thing ends up being a simple ordered sequence. regards, Lukas