Re: String to Stream

From: Date: Fri, 05 Aug 2005 19:47:32 +0000
Subject: Re: String to Stream
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-220113@lists.php.net to get a copy of this message
Eric Gorr wrote:
Jochem Maas wrote: http://php.net/manual/en/function.stream-wrapper-register.php is as
close as it gets I think. - total overkill for manipulating strings IMHO - (me thinks there is atleast one other in agreement) - there is a reason php has all those built in string functions :-)
And there are good reasons why other very intelligent people thought that including such functionality directly in the C++ STL and many other libraries was a good idea too.
indeed - but php !== c++ obviously. personally I don't get your angle on this one, but like Jay I'd be interested to know how you think this might be useful - so if you could give an explicit (as poss.) example it might help us to understand. btw do you think the functionality surrounding stream_wrapper_register() will do it for you?


« previous php.general (#220113) next »