Hi again Curt, On 8/3/2004 Curt Zirzow wrote: >You may be seeking: http://php.net/stream-wrapper-register > >With the example listed, you can have as many buffers as you >please.
Yeah, I could do what I'm already doing by implementing the interface you pointed me to. The problem is that stdout appears to be the only in-memory buffered character stream available to me. I need an abitrary number of such streams. Emulating these streams, as one might do by implementing the interfaces you pointed me to, doesn't solve the problem; this is what I'm doing. In my emulation I have to constantly cache and restore the contents of stdout. Am I correct in saying that PHP only has this one in-memory buffered character stream? (I need it to be in-memory because the goal is to maximize performance.) Again, it's crucial that buffering be done natively by PHP, since otherwise you're just creating string objects that buffering is supposed to prevent you from having to create. Thanks again for your suggestion! ~joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php