cvs: pear /Net_IRC/tests parseResponse.php parse_msg.php

From: Date: Fri, 10 May 2002 11:29:20 +0000
Subject: cvs: pear /Net_IRC/tests parseResponse.php parse_msg.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-3746@lists.php.net to get a copy of this message
cox Fri May 10 07:29:20 2002 EDT Added files: /pear/Net_IRC/tests parseResponse.php Removed files: /pear/Net_IRC/tests parse_msg.php Log: Renamed parse_msg.php -> parseResponse.php Index: pear/Net_IRC/tests/parseResponse.php +++ pear/Net_IRC/tests/parseResponse.php <?php require_once '../IRC.php'; $tests = array( 'PING :foo', 'NOTICE AUTH :*** Found your hostname, cached', ':cox!localhost PRIVMSG #pear :hi my name is Luser', //':sapiens.dhis.org 353 net_irc = #pear :net_irc cox', //':net_irc!~myident@sapiens.idecnet.com JOIN :#pear', //':cox!~cox@sapiens.idecnet.com PART #pear' ); $irc = new Net_IRC; foreach($tests as $t) { echo "Parsing: ($t)\n"; print_r($irc->parseResponse($t)); } ?>

« previous php.pear.cvs (#3746) next »