|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-04-28 18:03 UTC] jess at zend dot com
Description: ------------ PHP versions tested: 5_3 [5.3.2 was tested] and 5_2 [5.2.13] and, with snapshot 201004281430 of 5_2. libXML2 version used: 2.7.77 ZF version: 1.10.3 Attached are 2 scripts which require ZF as they create an Zend_XmlRpc_Server object. After calling client.php several times, since memory is not released, the limit is exhausted and HTTP error 500 is returned. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 02:00:01 2025 UTC |
Sorry, I tried to upload an tar.gz archive with the scripts but it failed w/o stopping and thus we got to this :) Here are the scripts. server.php: <?php require_once 'Zend/XmlRpc/Server.php'; $server = new Zend_XmlRpc_Server(); $server->addFunction('ini_get_all', 'bug'); echo $server->handle(); /** * @return array */ function iniGetAll() { return ini_get_all(); } client.php: <?php require_once 'Zend/XmlRpc/Client.php'; $client = new Zend_XmlRpc_Client('http://localhost/server.php'); var_dump($client->call('bug.ini_get_all'));