Bug #61814 [Opn->Csd]: ext\standard\tests\strings\strspn_variation6.phpt fails
| From: | ab@php.net | Date: | Wed, 02 May 2012 09:18:02 +0000 |
| Subject: | Bug #61814 [Opn->Csd]: ext\standard\tests\strings\strspn_variation6.phpt fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170076@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61814&edit=1
ID: 61814
Updated by: ab@php.net
Reported by: ab@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] ab@php.net
see bug 61827 for further infos
------------------------------------------------------------------------
[2012-04-23 09:34:04] ab@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] ab@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