|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-06-05 09:03 UTC] shehi at imanov dot name
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 20:00:02 2025 UTC |
Description: ------------ In some cases SoapServer::handle does not call php_end_ob_buffer and I can not call it from php. For example: 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. Test script: --------------- class A { } $s = new SoapServer("wsdl.wsdl"); $s->setClass("A"); ob_start(); var_dump(ob_get_level()); $s->handle(); var_dump(ob_get_level()); echo ob_get_clean(); Expected result: ---------------- int(1) int(1) Actual result: -------------- int(1) int(2) Notice: ob_get_clean(): failed to delete buffer default output handler