Edit report at https://bugs.php.net/bug.php?id=61814&edit=1

 ID:                 61814
 Comment by:         a...@php.net
 Reported by:        a...@php.net
 Summary:            ext\standard\tests\strings\strspn_variation6.phpt
                     fails
 Status:             Open
 Type:               Bug
 Package:            *General Issues
 Operating System:   windows
 PHP Version:        5.4Git-2012-04-22 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

see bug 61827 for further infos


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to