note 8268 added to strtok
| From: | mued at muetdhiver dot org | Date: | Sun, 03 Sep 2000 10:14:33 +0000 |
| Subject: | note 8268 added to strtok | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4026@lists.php.net to get a copy of this message | ||
I dont reach to tokenise an IRC eggdrop log by passing a regex as parameter to this function
$tok = strtok ($buffer,"(\r|\n){1,2}");
while ($tok) {
$my_line[]=$tok;
$tok = strtok ("(\r|\n){1,2}");
}
http://bugs.php.net/manual/function.strtok.php