|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-08 17:27 UTC] felipe@php.net
[2008-11-24 19:21 UTC] lbarnaud@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 14:00:01 2025 UTC |
Description: ------------ strtok is misbehaving in 6 snap., or at least not consistent with the behavior in PHP version 5. Reproduce code: --------------- $chaine='1-2'; $a=strtok($chaine,'-'); $b=strtok(' '); echo($a.' then '.$b); Expected result: ---------------- 1 then 2 Actual result: -------------- 1 then -2