Date: 09/29/98
- Next message: shane: "[PHP-DEV] CVS update: php3/functions"
- Previous message: shane: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: hjy <email protected>
Operating system: windows 95/NT
PHP version: 3.0.4
PHP Bug Type: Misbehaving function
Bug description: strtok() function is don't work properly
<?
$string = "a b c d e f";
$tok = strtok($string, " ");
while($tok) {
printf("[%s]\n", $tok);
$tok = strtok(" ");
}
?>
result is
[a]
if string is "a b c d e f", then result is correct, but
string "a b c d e f" is not work.
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: shane: "[PHP-DEV] CVS update: php3/functions"
- Previous message: shane: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

