Bug #62271 [Opn->Csd]: test bug - ext/wddx/tests/bug48562.phpt
| From: | ab@php.net | Date: | Mon, 11 Jun 2012 15:33:16 +0000 |
| Subject: | Bug #62271 [Opn->Csd]: test bug - ext/wddx/tests/bug48562.phpt | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-171201@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62271&edit=1
ID: 62271
Updated by: ab@php.net
Reported by: mattficken@php.net
Summary: test bug - ext/wddx/tests/bug48562.phpt
-Status: Open
+Status: Closed
Type: Bug
Package: Testing related
Operating System: Windows
PHP Version: 5.4.4RC2
-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-06-11 15:05:21] ab@php.net
Automatic comment on behalf of mattficken
Revision: http://git.php.net/?p=php-src.git;a=commit;h=a18cede1c5094d5255daeb99cd6debe09938399d
Log: Fix bug #62271 test bug - ext/wddx/tests/bug48562.phpt
------------------------------------------------------------------------
[2012-06-09 01:24:57] mattficken@php.net
Description:
------------
$a['x'] = &$a;
var_dump(wddx_serialize_vars($a));
$a['x'] = 'foo';
The recursion detection seems to be causing $a to be not an array here, maybe its
internally a pointer.
The patch fixes this problem on 5_4 rd24d5b6. The test passes on 5_3.
Actual result:
--------------
003+
004+ Warning: Illegal string offset 'x' in C:\php-sdk\php-test-pack-5.4-nts-
windows-vc9-x86-rd24d5b6\ext\wddx\tests\bug48562.php on line 11
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62271&edit=1