If anyone is interested, I have a PHP wrapper for a Perl socket-functions library I've developed. The wrapper allows for basic socket programming in PHP - nothing really fancy, but I'm still working on it.
If anyone's interested in it, let me know and I'll post it here.