Bug #75306 [Opn->Ver]: Memleak in SoapClient

From: Date: Mon, 01 Jan 2018 21:10:58 +0000
Subject: Bug #75306 [Opn->Ver]: Memleak in SoapClient
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213344@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75306&edit=1 ID: 75306 Updated by: nikic@php.net Reported by: valov at mtsbank dot ru Summary: Memleak in SoapClient -Status: Open +Status: Verified Type: Bug Package: SOAP related Operating System: RHEL 6 PHP Version: 7.1.10 Block user comment: N Private report: N New Comment: Can reproduce with soap.wsdl_cache_enabled=0. Previous Comments: ------------------------------------------------------------------------ [2017-10-03 09:00:41] valov at mtsbank dot ru Description: ------------ Memleak in SoapClient detected, in test script after few seconds you will get error: "Allowed memory size exhausted". Test script: --------------- <?php while(true) { $client = new SoapClient("test.wsdl"); } ?> You can use any test.wsdl specification, for example https://www.tutorialspoint.com/wsdl/wsdl_example.htm ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75306&edit=1

« previous php.bugs (#213344) next »