Edit report at https://bugs.php.net/bug.php?id=61814&edit=1
ID: 61814 Updated by: a...@php.net Reported by: a...@php.net Summary: ext\standard\tests\strings\strspn_variation6.phpt fails -Status: Open +Status: Closed Type: Bug Package: *General Issues Operating System: windows PHP Version: 5.4Git-2012-04-22 (snap) -Assigned To: +Assigned To: ab Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-04-23 15:39:19] a...@php.net see bug 61827 for further infos ------------------------------------------------------------------------ [2012-04-23 09:34:04] a...@php.net A simple reproduce case for this, Linux: php -r '$s = "hello123world456"; $m = "fl\t\eh "; var_dump(strspn($s,$m));' int(1) Windows: php.exe -r "$s = \"hello123world456\"; $m = \"fl\t\eh \"; var_dump(strspn($s,$m));" int(4) It looks somehow related to the bug 61813. ------------------------------------------------------------------------ [2012-04-22 12:06:20] a...@php.net Description: ------------ Test diff: 047+ int(4) 047- int(1) 059+ int(4) 059- int(1) 071+ int(4) 071- int(1) 083+ int(4) 083- int(1) Expected result: ---------------- test pass Actual result: -------------- test diff ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61814&edit=1