Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30066 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36406 invoked by uid 1010); 5 Jun 2007 12:42:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36391 invoked from network); 5 Jun 2007 12:42:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2007 12:42:37 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:42868] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/0C-11953-63A55664 for ; Tue, 05 Jun 2007 08:42:36 -0400 Received: (qmail 20889 invoked from network); 5 Jun 2007 12:42:26 -0000 Received: from internal.zend.office (HELO thinkpad) (10.1.1.1) by internal.zend.office with SMTP; 5 Jun 2007 12:42:26 -0000 To: "'Lukas Kahwe Smith'" , "'PHP Developers Mailing List'" Date: Tue, 5 Jun 2007 16:42:07 +0400 Message-ID: <000301c7a76e$f0192790$6e02a8c0@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <46652DA3.3030909@pooteeweet.org> Subject: RE: using arrays instead of stdClass From: dmitry@zend.com ("Dmitry Stogov") References: <46652DA3.3030909@pooteeweet.org> Hi Lukas, I don't like to increase complexity of ext/soap with additional options. It is already complex enough and simple object <-> array conversion doesn't provide additional abilities. I don't understand how ext/soap related to APC. Thanks. Dmitry. > -----Original Message----- > From: Lukas Kahwe Smith [mailto:mls@pooteeweet.org] > Sent: Tuesday, June 05, 2007 1:32 PM > To: PHP Developers Mailing List; Dmitry Stogov > Subject: using arrays instead of stdClass > > > Hi, > > Hopefully I am not overlooking something here, but I never really > appreciated the fact that all my complex types are returned > as stdClass > instances by default. Of course you can override this with custom > classes via the classmap, but I would much prefer simple > boring arrays. > > This has now become particularly relevant to me as APC seems > to be less > optimized for handling objects and specifically seems to be buggy > handling stdClass [1]. > > @Dmitry: Could we add yet another option to the soap server > class to be > able to force array's instead of stdClass? > > regards, > Lukas > > [1] http://pecl.php.net/bugs/bug.php?id=8118 >