ID: 44616 Updated by: [EMAIL PROTECTED] Reported By: weberio at mail dot ru -Status: Open +Status: Bogus Bug Type: Strings related Operating System: WIN XP PHP Version: 5.2.5 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Says the documentation: "The behavior when an empty part was found changed with PHP 4.1.0." Previous Comments: ------------------------------------------------------------------------ [2008-04-02 16:13:24] weberio at mail dot ru Description: ------------ strtok("\t\n","\t") - return one char (char code 10), but not null Reproduce code: --------------- <?=ord(strtok("\t\n","\t"))?> Expected result: ---------------- 0 Actual result: -------------- 10 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44616&edit=1
