|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-12-03 12:44 UTC] mike@php.net
-Status: Open
+Status: Not a bug
-Operating System: windows7, ubuntu-64
+Operating System:
[2013-12-03 12:44 UTC] mike@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 10:00:02 2025 UTC |
Description: ------------ strtok cuts repeatable characters which are not in the separator. Test script: --------------- <?php $str = "hello melon"; echo strtok($str, 'lo') . "\n"; echo strtok('lo'); Expected result: ---------------- hel me Actual result: -------------- he me // as if the first separator is 'llo'