Re: AW: AW: [PEAR-DEV] #24865 [Asn]: [patch] let XML_RSS, XML_Parser accept string inputs
| From: | Marshall Roch | Date: | Tue, 26 Aug 2003 22:55:25 +0000 |
| Subject: | Re: AW: AW: [PEAR-DEV] #24865 [Asn]: [patch] let XML_RSS, XML_Parser accept string inputs | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20587@lists.php.net to get a copy of this message | ||
Stephan Schmidt wrote:
I've taken a look at your patch, but I didn't like it! If you hand over a resource to a large file (let's say 100 MB), the whole file is read to memory, which will PHP cause to die at most configurations (memory limit is 8MB).I think you mentioned that once a few days ago, but I guess both Martin and I forgot about it. Here's an updated diff that fixes that bug: http://www.exclupen.com/misc/php/pear_patches/XML_Parser/XML_Parser-1.6.diff -- Marshall Roch