note 20095 deleted from function.strtok by nlopess

From: Date: Sun, 08 May 2005 07:49:50 +0000
Subject: note 20095 deleted from function.strtok by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-89112@lists.php.net to get a copy of this message
Note Submitter: alkiera at ihatespam dot hotmail dot com ---- 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.

« previous php.notes (#89112) next »