Skip to content

chobie/php-nanoirc

Repository files navigation

php-nanoirc

php-nanoirc binding

Usage

<?php

$parser = new NanoIRCParser();
$result = $parser->parse(":zelazny.freenode.net 376 tkhrm :End of /MOTD command.\015\012");

var_dump($result);
/*
array(3) {
  ["prefix"]=>
  string(20) "zelazny.freenode.net"
  ["command"]=>
  string(3) "376"
  ["params"]=>
  array(2) {
    [0]=>
    string(5) "tkhrm"
    [1]=>
    string(21) "End of /MOTD command."
  }
}
*/

AUTHOR

Shuhei Tanuma

LICENSE

PHP LICENSE

About

php-nanoirc binding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published