I need PHP program chain IRC, for example:

Connecting to an IRC server with PHP

But, he has not completed

Can You tell me, where can download such procedure?