note 4241 deleted from function.strtok by nlopess
| From: | nlopess@php.net | Date: | Sun, 08 May 2005 07:43:05 +0000 |
| Subject: | note 4241 deleted from function.strtok by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89101@lists.php.net to get a copy of this message | ||
Note Submitter: ridcully at gmx dot li
----
As mentioned in the documentation, strtok() takes the string to be tokenized only when called the
first time. It stores a pointer to the string internally and subsequent calls to strtok() (without
the string parameter) use that pointer.