Processing data with PHP using STDIN and Piping

PHP streams are still lacking in documentation and are rarely used compared to other PHP features. This is a shame because they can be really powerful and I have used them to gain a lot of performance when doing things such as processing log files.

, ,

“Cant connect to:v:a” error from memcache.php monitoring script

I downloaded the memcache pecl extension today and after opening the included monitoring script I got this error:

There is a missing variable declaration in get_host_port_from_server on line 41, it should be

Make the simple change and it will be working. The function is supposed to return the parts of the connection string […]

, ,