Doc #65064 [Opn->Csd]: Error in strtok example

From: Date: Wed, 19 Jun 2013 14:42:15 +0000
Subject: Doc #65064 [Opn->Csd]: Error in strtok example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9956@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65064&edit=1 ID: 65064 User updated by: michali dot sarris at gmail dot com Reported by: michali dot sarris at gmail dot com Summary: Error in strtok example -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Never mind, I misread the description. Previous Comments: ------------------------------------------------------------------------ [2013-06-19 14:40:41] michali dot sarris at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.strtok#refsect1-function.strtok-examples --- In the example there's an error: $tok = strtok(" \n\t"); which should be: $tok = strtok($string, " \n\t"); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65064&edit=1

« previous php.doc.bugs (#9956) next »