fopen('php://memory', 'w+')
Posted: Mon Feb 25, 2008 9:36 pm
How the hell did I not know this was possible? This provides a huge optimization for me when working with strings which I need to treat like streams
Very cool.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Iterating my way through every single byte in a long string.The Ninja Space Goat wrote:Interesting... may I ask what you're using this for?