note 20095 added to function.strtok

From: Date: Fri, 22 Mar 2002 05:36:40 +0000
Subject: note 20095 added to function.strtok
Groups: php.notes 
Request: Send a blank email to php-notes+get-28064@lists.php.net to get a copy of this message
In addition to the difference mckay pointed out above, which is apparently fixed in php 4.1+, is another difference between the php and C versions of strtok(). Unlike the C version, php's strtok() does not seem to eat the tokens, they get left in the stream, to be returned on the next call. Seems very odd, though it might be a design decision, it doesn't say. -- http://www.php.net/manual/en/function.strtok.php http://master.php.net/manage/user-notes.php?action=edit+20095 http://master.php.net/manage/user-notes.php?action=delete+20095 http://master.php.net/manage/user-notes.php?action=reject+20095

« previous php.notes (#28064) next »