Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51947 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94889 invoked from network); 20 Apr 2011 13:35:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Apr 2011 13:35:11 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:50763] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/D0-24878-C01EEAD4 for ; Wed, 20 Apr 2011 09:35:09 -0400 Received: by iwn3 with SMTP id 3so746564iwn.29 for ; Wed, 20 Apr 2011 06:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Ov5Ad8gK1A+GVJWHq6pnCWEWyheV2Y5x4X6RUEuzWP8=; b=wA7aFzv/a+Br9UY42JgQoVymUKwYWH1eh5EE7zuuCwFWp1HIafbglCiSYjueALwcWM ffcSZhSCE8BYWMEIciWfZb6elS7MZgiSfQ3RragNh+2oEY2+qCGzhlS3DEvnheYkRWBk AAAjPo2PwLGDxsZS0qfCzRmHwvKARjBdGH3/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=gYwnXpAk+PnJ9NXyfNtLsHoarYq/Ew6BuCKeG3GRFwIibbJYpoqkuKPRSjtj/gFstv vd1hHDYDg9TVAR/c/HJMAdXBiiaCyR+MIon8v6D37Xg6DK4KFutDKmIvfDCTZBDclHTi iVCN/s4Ylw8u3GDlxMbLN+NwV3yjEt1PS3k64= MIME-Version: 1.0 Received: by 10.231.130.22 with SMTP id q22mr5631515ibs.97.1303306506282; Wed, 20 Apr 2011 06:35:06 -0700 (PDT) Sender: tyra3l@gmail.com Received: by 10.231.199.197 with HTTP; Wed, 20 Apr 2011 06:35:06 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Apr 2011 15:35:06 +0200 X-Google-Sender-Auth: DiqvTMdfPv8FhMGdVmMh1R7_ifY Message-ID: To: Konstantin Leboev Cc: internals Mailing List Content-Type: multipart/alternative; boundary=0050450145d257265004a159b16d Subject: Re: [PHP-DEV] SoapServer::handle some times does not call php_end_ob_buffer From: info@tyrael.hu (Ferenc Kovacs) --0050450145d257265004a159b16d Content-Type: text/plain; charset=UTF-8 On Wed, Apr 20, 2011 at 3:29 PM, Konstantin Leboev < konstantin.leboev@gmail.com> wrote: > Hi all, > > In some cases SoapServer::handle does not call php_end_ob_buffer and I can > not call it from php. For example: > > class A { > } > > $s = new SoapServer("wsdl.wsdl"); > $s->setClass("A"); > > ob_start(); > var_dump(ob_get_level()); // int(1) > $s->handle(); > var_dump(ob_get_level()); // int(2) > echo ob_get_clean(); // Notice: ob_get_clean(): failed to delete buffer > default output handler > > 1. When method handle() called without arguments and it is not POST method > 2. When unknown compression used or we can't uncompress compressed request. > > -- > Regards, > Konstantin > hi please report it as a bug on http://bugs.php.net, its easier to keep track of the problem if its in there. Tyrael --0050450145d257265004a159b16d--