fopen('php://memory', 'w+')
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
fopen('php://memory', 'w+')
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.
Re: fopen('php://memory', 'w+')
Interesting... may I ask what you're using this for?
Re: fopen('php://memory', 'w+')
Very cool, I'm going to play around with this at work tomorrow.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: fopen('php://memory', 'w+')
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?