AW: [PEAR-DEV] Update: HTTP_Download

From: Date: Tue, 30 Sep 2003 09:20:02 +0000
Subject: AW: [PEAR-DEV] Update: HTTP_Download
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22210@lists.php.net to get a copy of this message
Hi, > I'm using references, because sometimes you want to pull a 50MB (or > bigger) file from the database and you don't want PHP to internally copy > this data. $data is now mandatory, which seems fine because why would > anybody use setData(null). Perhaps there could be a method called > unsetData to clear any raw data in the object if this functionality is > needed. As long as the data is not modified, no copy will be created. AFAIK the code should be a bit faster without the reference... Stephan

« previous php.pear.dev (#22210) next »