|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62271 test bug - ext/wddx/tests/bug48562.phpt
Submitted: 2012-06-09 01:24 UTC Modified: 2012-06-11 15:33 UTC
From: Assigned: ab
Status: Closed Package: Testing related
PHP Version: 5.4.4RC2 OS: Windows
Private report: No CVE-ID:
 [2012-06-09 01:24 UTC]
$a['x'] = &$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:
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


bug48562.patch.txt (last revision 2012-06-09 01:24 UTC) by mattficken)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-11 15:05 UTC]
Automatic comment on behalf of mattficken
Log: Fix bug #62271 test bug - ext/wddx/tests/bug48562.phpt
 [2012-06-11 15:33 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-06-11 15:33 UTC]
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

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 12:01:52 2014 UTC