This post originated from an RSS feed registered with PHP Buzz
by Mike Naberezny.
Original Post: PHP Temporary Streams
Feed Title: MikeNaberezny.com
Feed URL: http://mikenaberezny.com/category/php/feed/
Feed Description: Mike Naberezny blogs about PHP tricks, better PHP programming, test driven development, and other dynamic language topics.
It's been a while since David Sklar called out to let a thousand string concatenations bloom. That discussion produced some entertaining suggestions for putting strings together such as using preg_replace and calling out to MySQL with SELECT CONCAT.
Here's an approach that uses filesystem functions. When combined ...